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
|
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
include /usr/share/dpkg/architecture.mk
CONFIGURE_FLAGS = -DLIB_INSTALL_DIR=/usr/lib/$(DEB_HOST_MULTIARCH) \
-DDOC_INSTALL_DIR=/usr/share/doc/libsoxr-dev
ifeq ($(DEB_HOST_ARCH_ENDIAN),big)
CONFIGURE_FLAGS += -DHAVE_WORDS_BIGENDIAN_EXITCODE=0
else
CONFIGURE_FLAGS += -DHAVE_WORDS_BIGENDIAN_EXITCODE=1
endif
ifneq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
CONFIGURE_FLAGS += -DBUILD_TESTS=0 -DBUILD_EXAMPLES=1
endif
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- $(CONFIGURE_FLAGS)
override_dh_compress:
dh_compress -X.c -X.C
|