summaryrefslogtreecommitdiffstats
path: root/ubuntu/maverick/applications/kooldock/debian/rules
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2015-10-02 10:40:17 +0200
committerSlávek Banko <[email protected]>2015-10-02 10:40:17 +0200
commitaf603529d9bdfd77c627b9ede40480d8fe39041c (patch)
tree2f100e148b94340272ab3c4e8bbfa0afb1787f3d /ubuntu/maverick/applications/kooldock/debian/rules
parentb7aab04b34d8574384cfe77e0523d59357b5d7e4 (diff)
downloadtde-packaging-af603529d9bdfd77c627b9ede40480d8fe39041c.tar.gz
tde-packaging-af603529d9bdfd77c627b9ede40480d8fe39041c.zip
Move kooldock packaging files on Ubuntu to proper folder
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'ubuntu/maverick/applications/kooldock/debian/rules')
-rwxr-xr-xubuntu/maverick/applications/kooldock/debian/rules32
1 files changed, 32 insertions, 0 deletions
diff --git a/ubuntu/maverick/applications/kooldock/debian/rules b/ubuntu/maverick/applications/kooldock/debian/rules
new file mode 100755
index 000000000..bf5c42248
--- /dev/null
+++ b/ubuntu/maverick/applications/kooldock/debian/rules
@@ -0,0 +1,32 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include debian/cdbs/kde.mk
+#include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+include /usr/share/cdbs/1/rules/utils.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
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+post-patches:: debian/stamp-bootstrap
+
+debian/stamp-bootstrap:
+ dh_testdir
+
+ # Regenerate build system
+ ! [ -f /usr/share/libtool/ltmain.sh ] || \
+ cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
+ ! [ -f /usr/share/libtool/config/ltmain.sh ] || \
+ cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+ cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+
+ $(MAKE) -f admin/Makefile.common && \
+ touch debian/stamp-bootstrap
+
+clean::
+ rm -f debian/stamp-bootstrap