2018-04-06 21:47:23 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://portal.hdfgroup.org/display/support
|
|
|
|
TERMUX_PKG_DESCRIPTION="Hierarchical Data Format 5 (HDF5)"
|
2019-01-26 00:22:53 +01:00
|
|
|
TERMUX_PKG_LICENSE="BSD 3-Clause"
|
2021-03-01 22:15:07 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2020-03-23 11:20:51 +01:00
|
|
|
TERMUX_PKG_VERSION=1.12.0
|
2021-12-04 11:31:09 +01:00
|
|
|
TERMUX_PKG_REVISION=5
|
2019-02-03 14:16:09 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${TERMUX_PKG_VERSION:0:4}/hdf5-$TERMUX_PKG_VERSION/src/hdf5-$TERMUX_PKG_VERSION.tar.bz2
|
2020-03-23 11:20:51 +01:00
|
|
|
TERMUX_PKG_SHA256=97906268640a6e9ce0cde703d5a71c9ac3092eded729591279bf2e3ca9765f61
|
2020-04-04 12:39:06 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libc++, libzopfli, zlib"
|
2019-07-31 21:57:36 +02:00
|
|
|
TERMUX_PKG_BREAKS="libhdf5-dev"
|
|
|
|
TERMUX_PKG_REPLACES="libhdf5-dev"
|
2021-12-27 15:41:02 +01:00
|
|
|
TERMUX_PKG_GROUPS="science"
|
2018-04-06 21:47:23 +02:00
|
|
|
TERMUX_PKG_FORCE_CMAKE=true
|
2020-04-04 12:39:06 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
-DHDF5_ENABLE_Z_LIB_SUPPORT=on
|
|
|
|
-C$TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/TryRunResults_out.cmake
|
|
|
|
"
|
2018-04-06 21:47:23 +02:00
|
|
|
|
|
|
|
termux_step_pre_configure () {
|
2018-04-08 07:10:28 +02:00
|
|
|
cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/
|
2018-04-06 21:47:23 +02:00
|
|
|
mkdir -p $TERMUX_PKG_BUILDDIR/shared/
|
2018-04-08 07:10:28 +02:00
|
|
|
cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/shared/
|
2019-04-02 21:27:14 +02:00
|
|
|
touch $TERMUX_PKG_BUILDDIR/gen_SRCS.stamp1 $TERMUX_PKG_BUILDDIR/gen_SRCS.stamp2
|
|
|
|
touch $TERMUX_PKG_BUILDDIR/shared/shared_gen_SRCS.stamp1 $TERMUX_PKG_BUILDDIR/shared/shared_gen_SRCS.stamp2
|
2018-04-06 21:47:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_configure () {
|
2018-04-08 07:10:28 +02:00
|
|
|
cp $TERMUX_PKG_BUILDER_DIR/$TERMUX_ARCH/{H5Tinit.c,H5lib_settings.c} $TERMUX_PKG_BUILDDIR/shared/
|
2018-04-06 21:47:23 +02:00
|
|
|
}
|