diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 12:53:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 12:53:35 +0000 |
commit | 30fb40c33398959817b770d5bb1b02e819957885 (patch) | |
tree | 45e879df57adf8701ebb58d50efe338d50c93560 /debian/rules | |
parent | Adding upstream version 1.24.1. (diff) | |
download | lzip-30fb40c33398959817b770d5bb1b02e819957885.tar.xz lzip-30fb40c33398959817b770d5bb1b02e819957885.zip |
Adding debian version 1.24.1-1.debian/1.24.1-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e2fc491 --- /dev/null +++ b/debian/rules @@ -0,0 +1,27 @@ +#!/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* + +override_dh_auto_test: + # disabled: incomplete upstream testsuite |