File debian.rules of Package libmad
#!/usr/bin/make -f # -*- makefile -*- export DEB_BUILD_OPTIONS += noautodbgsym DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) CONF_FLAGS = --prefix=/usr ifneq (, $(findstring arm, $(DEB_BUILD_ARCH))) CONF_FLAGS += --disable-aso endif %: dh $@ override_dh_auto_configure: # Add here commands to configure the package. chmod a+x ./configure ./configure $(CONF_FLAGS) # --- end custom part for configure