wok-next view hdf5/receipt @ rev 15084
nabi: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 20:24:47 2013 +0000 (2013-08-13) |
parents | 9132288a78f4 |
children | de49f29b101e |
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 WEB_SITE="http://www.hdfgroup.org/HDF5"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="http://www.hdfgroup.org/ftp/HDF5/current/src/$TARBALL"
12 DEPENDS="zlib"
13 BUILD_DEPENDS="cmake szip zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's/Using_CMake.txt/USING_CMake.txt/' src/CMakeLists.txt
19 ./configure $CONFIGURE_ARGS &&
20 make all && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/bin $fs/usr
28 cp -a $install/usr/lib $fs/usr
29 rm -f $fs/usr/lib/*a
30 }