1
0
Fork 0

Adding alternative handling for /usr/bin/lzip.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-23 19:16:26 +01:00
parent 2516f422e5
commit 70c378413c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
4 changed files with 56 additions and 2 deletions

11
debian/rules vendored
View file

@ -6,8 +6,15 @@
override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/pdlzip
override_dh_strip:
dh_strip --dbg-package=pdlzip-dbg
# alernative handling
mv debian/pdlzip/usr/bin/pdlzip debian/pdlzip/usr/bin/lzip.public-domain
mv debian/pdlzip/usr/share/man/man1/pdlzip.1 debian/pdlzip/usr/share/man/man1/lzip.public-domain.1
ln -s /usr/bin/lzip.public-domain debian/pdlzip/usr/bin/pdlzip
ln -s /usr/share/man/man1/lzip.public-domain.1.gz debian/pdlzip/usr/share/man/man1/pdlzip.1.gz
override_dh_builddeb:
dh_builddeb -- -Zxz
override_dh_strip:
dh_strip --dbg-package=pdlzip-dbg