wok-current view hdf5/receipt @ rev 19787
cookutils: add configs_files
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 22 15:11:33 2017 +0100 (2017-02-22) |
parents | ee7fa21ddf53 |
children | a78610b2eb47 |
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 }