summaryrefslogtreecommitdiffstats
path: root/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-08-18 01:26:06 +0200
committerSlávek Banko <slavek.banko@axis.cz>2021-08-18 01:26:06 +0200
commit54e69d536c992645ae2fd19dbb2e1c85034298c7 (patch)
tree69d7f7558ca6ae17cf41dd133f88c438323cb5d1 /ubuntu/_base/applications/utilities/qalculate-tde/debian/rules
parent44b81b03e2596f548051bc111e593ad4ab920e78 (diff)
downloadtde-packaging-54e69d536c992645ae2fd19dbb2e1c85034298c7.tar.gz
tde-packaging-54e69d536c992645ae2fd19dbb2e1c85034298c7.zip
DEB qalculate-tde: Switch to cmake.
The man pages has been moved to the main tree. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/applications/utilities/qalculate-tde/debian/rules')
-rwxr-xr-xubuntu/_base/applications/utilities/qalculate-tde/debian/rules22
1 files changed, 12 insertions, 10 deletions
diff --git a/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules b/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules
index d03dd383d..a6797f19a 100755
--- a/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules
+++ b/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules
@@ -1,15 +1,17 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk
-DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
-DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
-DEB_CONFIGURE_PREFIX := /opt/trinity
-DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
-
-install/qalculate-trinity::
- rm debian/qalculate-trinity/opt/trinity/bin/qalculate
-
-clean::
- rm -f po/*.gmo
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc/trinity" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"