File: rules

package info (click to toggle)
hdf5-filter-plugin 0.0~git20221111.49e3b65-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,848 kB
  • sloc: ansic: 14,374; sh: 11,445; cpp: 1,463; makefile: 104; python: 19; xml: 6
file content (21 lines) | stat: -rwxr-xr-x 535 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

DPKG_EXPORT_BUILDTOOLS = 1
include /usr/share/dpkg/buildtools.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export PLUGIN_DIR=$(shell $(PKG_CONFIG) hdf5-serial  --variable=PluginDir|sed "s?/plugins??")

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -O--buildsystem=cmake -- \
		-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
		-DENABLE_LZ4_PLUGIN=yes \
		-DENABLE_BZIP2_PLUGIN=yes \
		-DCMAKE_INSTALL_LIBDIR=${PLUGIN_DIR}

override_dh_auto_install:
	dh_auto_install --destdir=debian/hdf5-filter-plugin/
	find