wok-6.x view hdf5/receipt @ rev 24092
Up get-pcem-roms (2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 18 13:15:53 2021 +0000 (2021-07-18) |
parents | bd50558bbb54 |
children | 89c8d8b6cf48 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hdf5"
4 VERSION="1.10.6"
5 CATEGORY="misc"
6 SHORT_DESC="A data model, library, and file format for storing and managing data."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.hdfgroup.org/HDF5"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://support.hdfgroup.org/ftp/HDF5/releases/$PACKAGE-${VERSION%.*}/$PACKAGE-$VERSION/src/$TARBALL"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="cmake szip zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i 's/Using_CMake.txt/USING_CMake.txt/' \
21 src/CMakeLists.txt
23 ./configure $CONFIGURE_ARGS &&
24 make -j 1 all &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 rm -f $fs/usr/lib/*a
36 }