wok annotate hdf5/receipt @ rev 19594
Up: zlib (1.2.9)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Jan 01 17:10:55 2017 +0000 (2017-01-01) |
parents | ee7fa21ddf53 |
children | a78610b2eb47 |
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 } |