1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
#!/usr/bin/make -f
# Verbosity
#export DH_VERBOSE = 1
# Build Flags
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- \
--enable-single-host \
--enable-openssl \
--enable-shared \
--enable-versioned-shared-libs \
--disable-absolute-shared-libs \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)/gambit4
sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' \
debian/libgambit4.links.in > debian/libgambit4.links
override_dh_shlibdeps:
dh_shlibdeps -l /usr/lib/$(DEB_HOST_MULTIARCH)/gambit4
|