wok-next view hdf5/receipt @ rev 21303
updated gujin (2.8.6 -> 2.8.7)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 10 07:57:29 2019 +0100 (2019-12-10) |
parents | 8f8e0d257c2e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="hdf5"
4 VERSION="1.8.9"
5 CATEGORY="misc"
6 SHORT_DESC="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/solutions/hdf5/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://www.hdfgroup.org/ftp/HDF5/current/src/$TARBALL"
14 BUILD_DEPENDS="cmake szip zlib-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 sed -i 's|// .*|/* & */|' test/th5s.c tools/lib/h5tools_str.c
19 sed -i 's/Using_CMake.txt/USING_CMake.txt/' src/CMakeLists.txt
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make all &&
24 make DESTDIR=$install install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 hdf5)
30 copy @std
31 DEPENDS="zlib"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }