| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
DPKG_EXPORT_BUILDTOOLS = 1 |
| 4 |
include /usr/share/dpkg/buildtools.mk |
| 5 |
|
| 6 |
export DEB_BUILD_MAINT_OPTIONS=hardening=+all |
| 7 |
export PLUGIN_DIR=$(shell $(PKG_CONFIG) hdf5-serial --variable=PluginDir|sed "s?/plugins??") |
| 8 |
|
| 9 |
%: |
| 10 |
dh $@ |
| 11 |
|
| 12 |
override_dh_auto_configure: |
| 13 |
dh_auto_configure -O--buildsystem=cmake -- \ |
| 14 |
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ |
| 15 |
-DENABLE_LZ4_PLUGIN=yes \ |
| 16 |
-DENABLE_BZIP2_PLUGIN=yes \ |
| 17 |
-DCMAKE_INSTALL_LIBDIR=${PLUGIN_DIR} |
| 18 |
|
| 19 |
override_dh_auto_install: |
| 20 |
dh_auto_install --destdir=debian/hdf5-filter-plugin/ |
| 21 |
find |