wok-current rev 13511
Add hdf5
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 15 12:11:24 2012 +0200 (2012-10-15) |
parents | 5efcf5b0ddbd |
children | e7a56295019b |
files | hdf5-dev/receipt hdf5/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/hdf5-dev/receipt Mon Oct 15 12:11:24 2012 +0200 1.3 @@ -0,0 +1,20 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="hdf5-dev" 1.7 +VERSION="1.8.9" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="a data model, library, and file format for storing and managing data." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://www.hdfgroup.org/HDF5" 1.12 +WANTED="hdf5" 1.13 + 1.14 +DEPENDS="hdf5" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/lib 1.20 + cp -a $install/usr/include $fs/usr 1.21 + cp -a $install/usr/share $fs/usr 1.22 + cp -a $install/usr/lib/*a $fs/usr/lib 1.23 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/hdf5/receipt Mon Oct 15 12:11:24 2012 +0200 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="hdf5" 2.7 +VERSION="1.8.9" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="a data model, library, and file format for storing and managing data." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +WEB_SITE="http://www.hdfgroup.org/HDF5" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.13 +WGET_URL="http://www.hdfgroup.org/ftp/HDF5/current/src/$TARBALL" 2.14 + 2.15 +DEPENDS="zlib" 2.16 +BUILD_DEPENDS="cmake szip zlib-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + cd $src 2.22 + sed -i 's/Using_CMake.txt/USING_CMake.txt/' CmakeLists.txt 2.23 + ./configure $CONFIGURE_ARGS && 2.24 + make all && make DESTDIR=$DESTDIR install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr 2.31 + cp -a $install/usr/bin $fs/usr 2.32 + cp -a $install/usr/lib $fs/usr 2.33 + rm -f $fs/usr/lib/*a 2.34 +}