Unverified Commit c76de38e authored by Jan Kotanski's avatar Jan Kotanski
Browse files

update debian config

parent 21a2a602
......@@ -19,14 +19,6 @@ Pre-Depends: ${misc:Pre-Depends}
Description: HDF5 plugin - LZ4 compression
LZ4 compression filter for the HDF5 library.
Package: hdf5-plugin-bz2
Section: science
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},hdf5-plugins-common
Pre-Depends: ${misc:Pre-Depends}
Description: HDF5 plugin - BZIP2 compression
BZ2 compression filter for the HDF5 library.
Package: hdf5-plugin-bshuf
Section: science
Architecture: any
......@@ -34,3 +26,12 @@ Depends: ${shlibs:Depends}, ${misc:Depends},hdf5-plugins-common
Pre-Depends: ${misc:Pre-Depends}
Description: HDF5 plugin - Bit Shuffle compression
BShuf compression filter for the HDF5 library.
# Package: hdf5-plugin-bz2
# Section: science
# Architecture: any
# Depends: ${shlibs:Depends}, ${misc:Depends},hdf5-plugins-common
# Pre-Depends: ${misc:Pre-Depends}
# Description: HDF5 plugin - BZIP2 compression
# BZ2 compression filter for the HDF5 library.
......@@ -13,4 +13,12 @@ GNUARCH:=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
dh $@ --buildsystem=cmake
override_dh_auto_configure:
dh_auto_configure -- -DENABLE_LZ4_PLUGIN=ON -DENABLE_BZIP2_PLUGIN=ON -DENABLE_BITSHUFFLE_PLUGIN=ON -DCMAKE_INSTALL_LIBDIR=$(DEST)/usr/lib/$(GNUARCH)/hdf5
# dh_auto_configure -- -DENABLE_LZ4_PLUGIN=ON -DENABLE_BZIP2_PLUGIN=ON -DENABLE_BITSHUFFLE_PLUGIN=ON -DCMAKE_INSTALL_LIBDIR=$(DEST)/usr/lib/$(GNUARCH)/hdf5
dh_auto_configure -- -DH5PL_SOURCE_DIR="$(CURDIR)" -DH5PL_RESOURCES_DIR="$(CURDIR)/config/cmake" -DPL_PACKAGE_NAME="pl" -DBSHUF_PACKAGE_NAME="bshuf" -DLZ4_PACKAGE_NAME="lz4" -DBZ2_PACKAGE_NAME="bz2" -DENABLE_BSHUF=ON -DENABLE_BLOSC=OFF -DENABLE_BZIP2=OFF -DENABLE_JPEG=OFF -DENABLE_LZF=OFF -DENABLE_LZ4=ON -DENABLE_MAFISC=OFF -DENABLE_ZFP=OFF -DHDF5_PACKAGE_NAME=hdf5 -DCMAKE_INSTALL_LIBDIR=$(DEST)/usr/lib/$(GNUARCH)/hdf5
override_dh_auto_install:
dh_numpy
dh_numpy3
dh_auto_install
mkdir -p $(CURDIR)/debian/tmp/usr/lib/$(GNUARCH)/hdf5/plugins/
cp $(CURDIR)/debian/tmp/usr/lib/plugin/*.so $(CURDIR)/debian/tmp/usr/lib/$(GNUARCH)/hdf5/plugins/
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment