| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
PACKAGE = libpixman-1-0 |
| 4 |
SHLIBS = 0.40.0 |
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 7 |
|
| 8 |
# Disable Gtk+ autodetection: |
| 9 |
override_dh_auto_configure: |
| 10 |
# also avoid loongson2f optimizations on mipsel, see 0.26.0-3 |
| 11 |
# changelog entry: |
| 12 |
LS_CFLAGS=" " dh_auto_configure -- \ |
| 13 |
-Dgtk=disabled |
| 14 |
|
| 15 |
# Install in debian/tmp to retain control through dh_install: |
| 16 |
override_dh_auto_install: |
| 17 |
dh_auto_install --destdir=debian/tmp |
| 18 |
|
| 19 |
# Kill *.la files, and forget no-one: |
| 20 |
override_dh_install: |
| 21 |
find debian/tmp -name '*.la' -delete |
| 22 |
dh_install |
| 23 |
|
| 24 |
# Shlibs: |
| 25 |
override_dh_makeshlibs: |
| 26 |
dh_makeshlibs -p$(PACKAGE) --add-udeb $(PACKAGE)-udeb -V"$(PACKAGE) (>= $(SHLIBS))" -- -c4 |
| 27 |
|
| 28 |
override_dh_auto_test: |
| 29 |
dh_auto_test -- --verbose --timeout-multiplier 3 |
| 30 |
|
| 31 |
%: |
| 32 |
dh $@ --with quilt --builddirectory=build/ |