1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
#!/usr/bin/make -f
include /usr/share/dpkg/architecture.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Avoid parallel post-build test due to reused /tmp/snapshot.db
%:
dh $@ --no-parallel
override_dh_auto_configure:
dh_auto_configure -Sautoconf -- \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--datarootdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--with-dbm=BerkeleyDB \
--enable-libzhuyin \
$(NULL)
execute_before_dh_install:
find debian/ -name *.la -delete
|