diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 14:23:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 14:23:33 +0000 |
commit | 3d805aefb0fecf09c6543acca9e40088fcf3e933 (patch) | |
tree | 5786a4d59ac0f22928c6abb612b0a61eb66841ec /debian/rules | |
parent | Adding upstream version 1.23. (diff) | |
download | lzip-debian.tar.xz lzip-debian.zip |
Adding debian version 1.23-5.debian/1.23-5debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-x | debian/rules | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..5bc14b2 --- /dev/null +++ b/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +include /usr/share/dpkg/architecture.mk +include /usr/share/dpkg/buildtools.mk + +%: + dh ${@} + +override_dh_auto_configure: + dh_auto_configure -- CXX='$(CXX) -g' CXXFLAGS='-Wall -Wextra $(CXXFLAGS)' + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/lzip + +execute_after_dh_auto_install: + # update-alternatives + mv debian/lzip/usr/bin/lzip debian/lzip/usr/bin/lzip.lzip + mv debian/lzip/usr/share/info/lzip.info debian/lzip/usr/share/info/lzip.lzip.info + mv debian/lzip/usr/share/man/man1/lzip.1 debian/lzip/usr/share/man/man1/lzip.lzip.1 + + # removing unused files + rm -f debian/lzip/usr/share/info/dir* |