wok-next view hdf5/receipt @ rev 20577
More fix libtool
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 03:34:33 2018 +0300 (2018-04-14) |
parents | 4396aed7eb01 |
children | 8f8e0d257c2e |
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="http://www.hdfgroup.org/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="hdf5-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=$DESTDIR 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 }