wok-next view hdf5/receipt @ rev 19959
hdf5: tiny patch, libedit, pinentry-gtk: no -linfo, telegram: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 17 09:49:31 2017 +0200 (2017-10-17) |
parents | de49f29b101e |
children | a8b48af89217 |
line source
1 # SliTaz package receipt.
3 PACKAGE="hdf5"
4 VERSION="1.8.9"
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="http://www.hdfgroup.org/HDF5"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://www.hdfgroup.org/ftp/HDF5/current/src/$TARBALL"
13 DEPENDS="zlib"
14 BUILD_DEPENDS="cmake szip zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|// .*|/* & */|' test/th5s.c
20 sed -i 's/Using_CMake.txt/USING_CMake.txt/' src/CMakeLists.txt
21 ./configure $CONFIGURE_ARGS &&
22 make all && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 rm -f $fs/usr/lib/*a
32 }