| 1 |
|
| 2 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 3 |
|
| 4 |
%: |
| 5 |
dh $@ |
| 6 |
|
| 7 |
override_dh_auto_clean: |
| 8 |
|
| 9 |
override_dh_auto_configure: |
| 10 |
dh_auto_configure -- \ |
| 11 |
--with-raptor=system \ |
| 12 |
--with-rasqal=system \ |
| 13 |
--with-threestore=no \ |
| 14 |
--with-mysql=yes \ |
| 15 |
--with-sqlite=yes \ |
| 16 |
--with-postgresql=yes \ |
| 17 |
--with-openssl-digests=no \ |
| 18 |
--with-virtuoso=yes \ |
| 19 |
--with-gtk-doc=no \ |
| 20 |
--enable-release |
| 21 |
|
| 22 |
execute_after_dh_auto_install: |
| 23 |
rm -f debian/tmp/usr/lib/*/redland/librdf_storage_*.a |
| 24 |
rm -rf debian/tmp/usr/share/gtk-doc |
| 25 |
for lib in debian/tmp/usr/lib/*/librdf.la debian/tmp/usr/lib/*/redland/librdf_storage_*.la; do \ |
| 26 |
sed "/dependency_libs/ s/'.*'/''/" $$lib >> $$lib.new && mv $$lib.new $$lib; \ |
| 27 |
done |
| 28 |
|
| 29 |
override_dh_auto_test: |
| 30 |
dh_auto_test --no-parallel |