1
0

rules 406 B

1234567891011121314
  1. #!/usr/bin/make -f
  2. export DH_VERBOSE = 1
  3. export DEB_BUILD_MAINT_OPTIONS = hardening=+all
  4. export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
  5. export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
  6. %:
  7. dh $@
  8. override_dh_auto_configure:
  9. dh_auto_configure -- \
  10. -DCMAKE_LIBRARY_ARCHITECTURE="$(DEB_TARGET_MULTIARCH)" -DCMAKE_BUILD_TYPE=Release \
  11. -DCPR_USE_SYSTEM_CURL=ON -DCURL_ZLIB=OFF -DBUILD_SHARED_LIBS=ON