wok-next view hdf5/receipt @ rev 14593

Add antinat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 27 12:17:25 2013 +0200 (2013-05-27)
parents
children 9132288a78f4
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 cd $src
19 sed -i 's/Using_CMake.txt/USING_CMake.txt/' CmakeLists.txt
20 ./configure $CONFIGURE_ARGS &&
21 make all && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 rm -f $fs/usr/lib/*a
31 }