From 53f7153331b5c0ff0ef584e8b7a4025a0ab4ada7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 20:22:55 +0200 Subject: Adding debian version 1.6.12-11. Signed-off-by: Daniel Baumann --- debian/rules | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 debian/rules (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..ad698c7 --- /dev/null +++ b/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f + +export DEB_BUILD_OPTIONS+=nocheck +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +include /usr/share/dpkg/architecture.mk +include /usr/share/dpkg/pkg-info.mk + +%: + dh $@ --with autoreconf + +override_dh_auto_install: + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + chrpath -d -k debian/tmp/usr/bin/geoip* + +override_dh_auto_configure: + dh_auto_configure -- GREP=/bin/grep MKDIR_P="/bin/mkdir -p" SED=/bin/sed SHELL=/bin/bash + +override_dh_installexamples: + dh_installexamples + rm -f $(CURDIR)/debian/libgeoip-dev/usr/share/doc/libgeoip-dev/examples/Makefile + +override_dh_install: + dh_install + strip --remove-section=.comment \ + $(CURDIR)/debian/libgeoip-dev/usr/lib/$(DEB_HOST_MULTIARCH)/libGeoIP.a -- cgit v1.2.3