wok-next view hdf5/receipt @ rev 16567

Up: slitaz-boot-scripts + slitaz-tools (urgent bug fix)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 01 22:17:02 2014 +0200 (2014-05-01)
parents ee7fa21ddf53
children 76524bb0e096
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/Using_CMake.txt/USING_CMake.txt/' src/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 }