wok view hdf5/receipt @ rev 21920

Add pcem
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 05 16:15:48 2019 +0200 (2019-10-05)
parents a78610b2eb47
children 4e60ad201909
line source
1 # SliTaz package receipt.
3 PACKAGE="hdf5"
4 VERSION="1.10.4"
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/' src/CMakeLists.txt
22 ./configure $CONFIGURE_ARGS &&
23 make -j 1 all &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/lib $fs/usr
34 rm -f $fs/usr/lib/*a
35 }