wok-6.x annotate hdf5/receipt @ rev 22026

updated thermald (1.3.rc1 -> 1.9)
author Hans-G?nter Theisgen
date Sun Oct 20 15:47:58 2019 +0100 (2019-10-20)
parents a78610b2eb47
children 4e60ad201909
rev   line source
pascal@13511 1 # SliTaz package receipt.
pascal@13511 2
pascal@13511 3 PACKAGE="hdf5"
Hans-G?nter@21032 4 VERSION="1.10.4"
pascal@13511 5 CATEGORY="misc"
Hans-G?nter@21032 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@20669 9 WEB_SITE="https://www.hdfgroup.org/HDF5"
Hans-G?nter@21032 10
pascal@13511 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21032 12 WGET_URL="https://support.hdfgroup.org/ftp/HDF5/releases/$PACKAGE-${VERSION%.*}/$PACKAGE-$VERSION/src/$TARBALL"
pascal@13511 13
pascal@13511 14 DEPENDS="zlib"
pascal@13511 15 BUILD_DEPENDS="cmake szip zlib-dev"
pascal@13511 16
pascal@13511 17 # Rules to configure and make the package.
pascal@13511 18 compile_rules()
pascal@13511 19 {
pascal@15067 20 sed -i 's/Using_CMake.txt/USING_CMake.txt/' src/CMakeLists.txt
Hans-G?nter@21032 21
pascal@13511 22 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21032 23 make -j 1 all &&
Hans-G?nter@21032 24 make DESTDIR=$DESTDIR install
pascal@13511 25 }
pascal@13511 26
pascal@13511 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13511 28 genpkg_rules()
pascal@13511 29 {
pascal@13511 30 mkdir -p $fs/usr
Hans-G?nter@21032 31
Hans-G?nter@21032 32 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21032 33 cp -a $install/usr/lib $fs/usr
pascal@13511 34 rm -f $fs/usr/lib/*a
pascal@13511 35 }