diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 14:26:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 14:26:44 +0000 |
commit | 97eb066333ce4fae8af607937142ec74a2d95303 (patch) | |
tree | 13d0b774fd071106f5bbcebfcb60ca55791b36d3 /debian/rules | |
parent | Adding upstream version 1.10. (diff) | |
download | plzip-97eb066333ce4fae8af607937142ec74a2d95303.tar.xz plzip-97eb066333ce4fae8af607937142ec74a2d95303.zip |
Adding debian version 1.10-5.debian/1.10-5debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8a7e13b --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/architecture.mk +include /usr/share/dpkg/buildtools.mk + +%: + dh ${@} + +override_dh_auto_configure: + dh_auto_configure -- 'CXX=$(CXX)' + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/plzip + +execute_after_dh_auto_install: + # update-alternatives + mv debian/plzip/usr/bin/plzip debian/plzip/usr/bin/lzip.plzip + ln -s /usr/bin/lzip.plzip debian/plzip/usr/bin/plzip + + mv debian/plzip/usr/share/info/plzip.info debian/plzip/usr/share/info/lzip.plzip.info + ln -s /usr/share/info/lzip.plzip.info.gz debian/plzip/usr/share/info/plzip.info.gz + + mv debian/plzip/usr/share/man/man1/plzip.1 debian/plzip/usr/share/man/man1/lzip.plzip.1 + ln -s /usr/share/man/man1/lzip.plzip.1.gz debian/plzip/usr/share/man/man1/plzip.1.gz + + # removing unused files + rm -f debian/plzip/usr/share/info/dir* |