wok-6.x annotate hdf5/receipt @ rev 15560
Up: thunderbird-langpack-it (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:37:43 2013 +0100 (2013-11-24) |
parents | 9132288a78f4 |
children | de49f29b101e |
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@15067 | 18 sed -i 's/Using_CMake.txt/USING_CMake.txt/' src/CMakeLists.txt |
pascal@13511 | 19 ./configure $CONFIGURE_ARGS && |
pascal@13511 | 20 make all && make DESTDIR=$DESTDIR install |
pascal@13511 | 21 } |
pascal@13511 | 22 |
pascal@13511 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13511 | 24 genpkg_rules() |
pascal@13511 | 25 { |
pascal@13511 | 26 mkdir -p $fs/usr |
pascal@13511 | 27 cp -a $install/usr/bin $fs/usr |
pascal@13511 | 28 cp -a $install/usr/lib $fs/usr |
pascal@13511 | 29 rm -f $fs/usr/lib/*a |
pascal@13511 | 30 } |