1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
#!/usr/bin/make -f
#export DH_VERBOSE=1
# see FEATURE AREAS in dpkg-buildflags(1)
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/default.mk
include /usr/share/dpkg/buildflags.mk
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
%:
dh $@
override_dh_auto_configure:
$(CURDIR)/configure --prefix=/usr --libdir=/lib/$(DEB_HOST_MULTIARCH) \
--cflags="$(CFLAGS)" \
--ldflags="$(LDFLAGS)" \
$(NULL)
doit
override_dh_auto_install:
$(CURDIR)/install.py --dest=debian/tmp
|