diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 14:26:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 14:26:21 +0000 |
commit | 56aa9dee39e0803af6fb51724af60ba9edff83a4 (patch) | |
tree | cf863bededc2bea43753e46810cb64f42760d6ac /debian/rules | |
parent | Adding upstream version 1.12. (diff) | |
download | pdlzip-ce2f08acc7df2e03ab305a4bb72f6011213e37a1.tar.xz pdlzip-ce2f08acc7df2e03ab305a4bb72f6011213e37a1.zip |
Adding debian version 1.12-5.debian/1.12-5debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..25297c0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +include /usr/share/dpkg/buildtools.mk + +%: + dh ${@} + +override_dh_auto_configure: + dh_auto_configure -- 'CC=$(CC)' + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/pdlzip + +execute_after_dh_auto_install: + # update-alternatives + mv debian/pdlzip/usr/bin/pdlzip debian/pdlzip/usr/bin/lzip.pdlzip + ln -s /usr/bin/lzip.pdlzip debian/pdlzip/usr/bin/pdlzip + + mv debian/pdlzip/usr/share/man/man1/pdlzip.1 debian/pdlzip/usr/share/man/man1/lzip.pdlzip.1 + ln -s /usr/share/man/man1/lzip.pdlzip.1.gz debian/pdlzip/usr/share/man/man1/pdlzip.1.gz |