summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:35:06 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:35:06 +0000
commit918d0ad2bb52f13dd3c62c5574f61a37936e33a5 (patch)
treeea9f83f03b075139b043946dd0bd094dcbbd9c79 /debian/rules
parentAdding upstream version 1.10. (diff)
downloadzutils-918d0ad2bb52f13dd3c62c5574f61a37936e33a5.tar.xz
zutils-918d0ad2bb52f13dd3c62c5574f61a37936e33a5.zip
Adding debian version 1.10-1.debian/1.10-1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bbe30ea
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/buildtools.mk
+
+%:
+ dh ${@}
+
+override_dh_auto_configure:
+ LDFLAGS="${LDFLAGS} -static" dh_auto_configure -- --exec-prefix=/ CXX=$(CXX)
+
+override_dh_auto_install:
+ dh_auto_install -- DESTDIR=$(CURDIR)/debian/zutils
+
+execute_after_dh_auto_install:
+ # removing unused files
+ rm -f debian/zutils/usr/share/info/dir*
+
+override_dh_auto_test:
+ # disabled
+
+override_dh_gencontrol:
+ dh_gencontrol -- -Vbuilt-using="glibc (= $$(dpkg-query --show --showformat='$${source:Version}' libc-dev-bin))"