Adding lzip alternatives handling.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
d95c3c1dc4
commit
74dbb14a20
2 changed files with 7 additions and 0 deletions
2
debian/control
vendored
2
debian/control
vendored
|
@ -9,6 +9,8 @@ Homepage: http://www.nongnu.org/lzip/lzip.html
|
||||||
Package: lzd
|
Package: lzd
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||||
|
Breaks: lzip (<< 1.15~)
|
||||||
|
Provides: lzip-alternative
|
||||||
Description: Educational, lossless data compressor based on the LZMA algorithm
|
Description: Educational, lossless data compressor based on the LZMA algorithm
|
||||||
Lzip is a lossless data compressor based on the LZMA algorithm, with very safe
|
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.
|
integrity checking and a user interface similar to the one of gzip or bzip2.
|
||||||
|
|
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -6,6 +6,11 @@
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzd
|
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:
|
override_dh_builddeb:
|
||||||
dh_builddeb -- -Zxz
|
dh_builddeb -- -Zxz
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue