summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 12:57:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 12:57:57 +0000
commit279517213cadf6798105f8e7e4e411c37124a33a (patch)
tree6352d956379f1f936a63b7f90229039bd5ac765e /debian/rules
parentAdding upstream version 0.8. (diff)
downloadxlunzip-279517213cadf6798105f8e7e4e411c37124a33a.tar.xz
xlunzip-279517213cadf6798105f8e7e4e411c37124a33a.zip
Adding debian version 0.8-1.debian/0.8-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules23
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..97d1448
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/buildtools.mk
+
+%:
+ dh ${@}
+
+override_dh_auto_configure:
+ dh_auto_configure -- 'CC=$(CC) -g'
+
+override_dh_auto_install:
+ dh_auto_install -- DESTDIR=$(CURDIR)/debian/xlunzip
+
+execute_after_dh_auto_install:
+ # update-alternatives
+ mv debian/xlunzip/usr/bin/xlunzip debian/xlunzip/usr/bin/lzip.xlunzip
+ ln -s /usr/bin/lzip.xlunzip debian/xlunzip/usr/bin/xlunzip
+
+ mv debian/xlunzip/usr/share/man/man1/xlunzip.1 debian/xlunzip/usr/share/man/man1/lzip.xlunzip.1
+ ln -s /usr/share/man/man1/lzip.xlunzip.1.gz debian/xlunzip/usr/share/man/man1/xlunzip.1.gz
+
+override_dh_auto_test:
+ # disabled: incomplete upstream testsuite