wok annotate hdf5/receipt @ rev 14207
w3m: config receipt to use patches
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Mar 15 13:42:03 2013 +0000 (2013-03-15) |
parents | |
children | 9132288a78f4 |
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@13511 | 8 WEB_SITE="http://www.hdfgroup.org/HDF5" |
pascal@13511 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13511 | 10 WGET_URL="http://www.hdfgroup.org/ftp/HDF5/current/src/$TARBALL" |
pascal@13511 | 11 |
pascal@13511 | 12 DEPENDS="zlib" |
pascal@13511 | 13 BUILD_DEPENDS="cmake szip zlib-dev" |
pascal@13511 | 14 |
pascal@13511 | 15 # Rules to configure and make the package. |
pascal@13511 | 16 compile_rules() |
pascal@13511 | 17 { |
pascal@13511 | 18 cd $src |
pascal@13511 | 19 sed -i 's/Using_CMake.txt/USING_CMake.txt/' 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 } |