wok-next annotate hdf5/receipt @ rev 20448

xorg-libXss is obsolete -> xorg-libXScrnSaver
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 14:04:45 2018 +0200 (2018-02-28)
parents 76524bb0e096
children 4396aed7eb01
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@19964 19 sed -i 's|// .*|/* & */|' test/th5s.c tools/lib/h5tools_str.c
pascal@15067 20 sed -i 's/Using_CMake.txt/USING_CMake.txt/' src/CMakeLists.txt
pascal@13511 21 ./configure $CONFIGURE_ARGS &&
pascal@13511 22 make all && make DESTDIR=$DESTDIR install
pascal@13511 23 }
pascal@13511 24
pascal@13511 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13511 26 genpkg_rules()
pascal@13511 27 {
pascal@13511 28 mkdir -p $fs/usr
pascal@13511 29 cp -a $install/usr/bin $fs/usr
pascal@13511 30 cp -a $install/usr/lib $fs/usr
pascal@13511 31 rm -f $fs/usr/lib/*a
pascal@13511 32 }