1
0
Fork 0

Adding lzip alternatives handling.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-20 14:25:55 +01:00
parent d95c3c1dc4
commit 74dbb14a20
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
2 changed files with 7 additions and 0 deletions

2
debian/control vendored
View file

@ -9,6 +9,8 @@ Homepage: http://www.nongnu.org/lzip/lzip.html
Package: lzd
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
Breaks: lzip (<< 1.15~)
Provides: lzip-alternative
Description: Educational, lossless data compressor based on the LZMA algorithm
Lzip is a lossless data compressor based on the LZMA algorithm, with very safe
integrity checking and a user interface similar to the one of gzip or bzip2.

5
debian/rules vendored
View file

@ -6,6 +6,11 @@
override_dh_auto_install:
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd
# alternative handling
mv debian/lzd/usr/bin/lzd debian/lzd/usr/bin/lzip.educational-decompressor
ln -s /usr/bin/lzip.educational-decompressor debian/lzd/usr/bin/lzd
override_dh_builddeb:
dh_builddeb -- -Zxz