1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/default.mk
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- --disable-update-mimedb --disable-static \
--libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/genius
override_dh_auto_install:
dh_auto_install
find debian/tmp/usr/lib -name '*.a' -o -name '*.la' -delete
rm debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/genius/libtestplugin*
override_dh_install:
dh_install --fail-missing
|