diff options
author | Michele Calgaro <[email protected]> | 2020-03-18 12:48:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-03-18 19:02:02 +0900 |
commit | 420cce34014bf39356bca01a0ad217107bdafe50 (patch) | |
tree | 41304bc1ad147e9131d04ecd1cd1ed46b6468c5f /ubuntu/_base/applications/kstreamripper/debian/rules | |
parent | f6f8c314982643ca4d2128011fe96d71bef43246 (diff) | |
download | tde-packaging-420cce34014bf39356bca01a0ad217107bdafe50.tar.gz tde-packaging-420cce34014bf39356bca01a0ad217107bdafe50.zip |
DEB kstreamripper: switched to cmake.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 0038f7fc68c02e39330101665c3ed9c6c5fe0330)
Diffstat (limited to 'ubuntu/_base/applications/kstreamripper/debian/rules')
-rwxr-xr-x | ubuntu/_base/applications/kstreamripper/debian/rules | 33 |
1 files changed, 13 insertions, 20 deletions
diff --git a/ubuntu/_base/applications/kstreamripper/debian/rules b/ubuntu/_base/applications/kstreamripper/debian/rules index 88540f9bf..18aa16b96 100755 --- a/ubuntu/_base/applications/kstreamripper/debian/rules +++ b/ubuntu/_base/applications/kstreamripper/debian/rules @@ -1,26 +1,19 @@ #!/usr/bin/make -f + include /usr/share/cdbs/1/rules/debhelper.mk -#DEB_INSTALL_MANPAGES_kstreamripper-trinity:=debian/kstreamripper.1 +include /usr/share/cdbs/1/class/cmake.mk +include debian/cdbs/debian-tde.mk DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) -PATH := /opt/trinity/bin:$(PATH) - -build/kstreamripper-trinity:: - env PATH=/opt/trinity/bin:$(PATH) QTDIR=/usr/share/tqt3 $(MAKE) - -install/kstreamripper-trinity:: - env PATH=/opt/trinity/bin:$(PATH) QTDIR=/usr/share/tqt3 DESTDIR=$(DEB_DESTDIR) $(MAKE) install - mkdir -p $(DEB_DESTDIR)/opt/trinity/share/pixmaps/ - mkdir -p $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/ - install -m 644 ./src/hi32-app-kstreamripper.png \ - $(DEB_DESTDIR)/opt/trinity/share/pixmaps/kstreamripper.png - rm -rf $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML - rm -rf $(DEB_DESTDIR)/usr - -clean:: - -$(MAKE) clean - rm -f scons_signatures.dblite - rm -f *.pyc admin/*.pyc - rm -rf cache/ +DEB_CMAKE_EXTRA_FLAGS := \ + -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" |