wok annotate hdf5/receipt @ rev 24081

php-auth-pam: remove patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 09 16:30:40 2021 +0000 (2021-07-09)
parents bd50558bbb54
children 89c8d8b6cf48
rev   line source
pascal@13511 1 # SliTaz package receipt.
pascal@13511 2
pascal@13511 3 PACKAGE="hdf5"
Hans-G?nter@22927 4 VERSION="1.10.6"
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 {
Hans-G?nter@22927 20 sed -i 's/Using_CMake.txt/USING_CMake.txt/' \
Hans-G?nter@22927 21 src/CMakeLists.txt
Hans-G?nter@21032 22
pascal@13511 23 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21032 24 make -j 1 all &&
Hans-G?nter@21032 25 make DESTDIR=$DESTDIR install
pascal@13511 26 }
pascal@13511 27
pascal@13511 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13511 29 genpkg_rules()
pascal@13511 30 {
pascal@13511 31 mkdir -p $fs/usr
Hans-G?nter@21032 32
Hans-G?nter@21032 33 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21032 34 cp -a $install/usr/lib $fs/usr
Hans-G?nter@22927 35 rm -f $fs/usr/lib/*a
pascal@13511 36 }