debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | # makefile for libmad |
| 3 | |
| 4 | # Uncomment this to turn on verbose mode. |
| 5 | #export DH_VERBOSE=1 |
| 6 | |
| 7 | include /usr/share/dpkg/default.mk |
| 8 | |
| 9 | ifneq (,$(findstring $(DEB_HOST_ARCH),armel armhf)) |
| 10 | DEB_CONFIGURE_EXTRA_FLAGS += -DASO=OFF |
| 11 | endif |
| 12 | |
| 13 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 14 | |
| 15 | %: |
| 16 | dh $@ |
| 17 | |
| 18 | override_dh_auto_configure: |
| 19 | dh_auto_configure -- -DCMAKE_POLICY_VERSION_MINIMUM=3.5 $(DEB_CONFIGURE_EXTRA_FLAGS) |