wok-next annotate hdf5/receipt @ rev 16240
picoblog: browsers should not execute TARBALL on mirror
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 03 07:03:51 2014 +0000 (2014-04-03) |
parents | ee7fa21ddf53 |
children | 76524bb0e096 |
rev | line source |
---|---|
pascal@13511 | 1 # SliTaz package receipt. |
pascal@13511 | 2 |
pascal@13511 | 3 PACKAGE="hdf5" |
pascal@13511 | 4 VERSION="1.8.9" |
pascal@13511 | 5 CATEGORY="misc" |
pascal@13511 | 6 SHORT_DESC="a data model, library, and file format for storing and managing data." |
pascal@13511 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 8 LICENSE="BSD" |
pascal@13511 | 9 WEB_SITE="http://www.hdfgroup.org/HDF5" |
pascal@13511 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13511 | 11 WGET_URL="http://www.hdfgroup.org/ftp/HDF5/current/src/$TARBALL" |
pascal@13511 | 12 |
pascal@13511 | 13 DEPENDS="zlib" |
pascal@13511 | 14 BUILD_DEPENDS="cmake szip zlib-dev" |
pascal@13511 | 15 |
pascal@13511 | 16 # Rules to configure and make the package. |
pascal@13511 | 17 compile_rules() |
pascal@13511 | 18 { |
pascal@15067 | 19 sed -i 's/Using_CMake.txt/USING_CMake.txt/' src/CMakeLists.txt |
pascal@13511 | 20 ./configure $CONFIGURE_ARGS && |
pascal@13511 | 21 make all && make DESTDIR=$DESTDIR install |
pascal@13511 | 22 } |
pascal@13511 | 23 |
pascal@13511 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13511 | 25 genpkg_rules() |
pascal@13511 | 26 { |
pascal@13511 | 27 mkdir -p $fs/usr |
pascal@13511 | 28 cp -a $install/usr/bin $fs/usr |
pascal@13511 | 29 cp -a $install/usr/lib $fs/usr |
pascal@13511 | 30 rm -f $fs/usr/lib/*a |
pascal@13511 | 31 } |