summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/kvpnc/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-06-12 02:13:38 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-06-12 02:13:38 +0200
commitd3766210d96f0541e9a0182d67f5bde91992e458 (patch)
tree2d7e8199948edcc8cbcf434958357f83fe1ae8f6 /ubuntu/maverick/applications/kvpnc/debian/rules
parenta21470e1e1252530dc52b0b667ae840c72caeb71 (diff)
downloadtde-packaging-d3766210d96f0541e9a0182d67f5bde91992e458.tar.gz
tde-packaging-d3766210d96f0541e9a0182d67f5bde91992e458.zip
Use common build rules for kvpnc on Debian and Ubuntu
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/maverick/applications/kvpnc/debian/rules')
-rwxr-xr-xubuntu/maverick/applications/kvpnc/debian/rules20
1 files changed, 2 insertions, 18 deletions
diff --git a/ubuntu/maverick/applications/kvpnc/debian/rules b/ubuntu/maverick/applications/kvpnc/debian/rules
index a409525d5..1a67e871b 100755
--- a/ubuntu/maverick/applications/kvpnc/debian/rules
+++ b/ubuntu/maverick/applications/kvpnc/debian/rules
@@ -1,36 +1,21 @@
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/kde.mk
+include debian/cdbs/debian-qt-kde.mk
#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--as-needed"
DEB_INSTALL_MANPAGES_kvpnc-trinity := debian/kvpnc-trinity.1
-DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/tde
+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
-cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
-
-DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib --with-extra-includes=/opt/trinity/include/tde
-
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2)
-makebuilddir/kvpnc-trinity::
- cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
-ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
- cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
-endif
-ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
- cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
-endif
- $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
- touch debian/stamp-cvs-make
-
install/kvpnc-trinity::
# fix script-not-executable
chmod 0755 debian/kvpnc-trinity/opt/trinity/share/apps/kvpnc/ping_check.sh
@@ -46,5 +31,4 @@ binary-post-install/kvpnc-trinity::
rm -rf debian/kvpnc-trinity/opt/trinity/share/applnk/
clean::
- rm -f config.status config.log
find . -type f -name '*.gmo' | xargs rm -f