wok view hdf5/receipt @ rev 24602

updated git (2.26.2 -> 2.35.1)
author Hans-G?nter Theisgen
date Wed Mar 02 09:04:56 2022 +0100 (2022-03-02)
parents 4e60ad201909
children 8ed7694bbe1f
line source
1 # SliTaz package receipt.
3 PACKAGE="hdf5"
4 VERSION="1.10.6"
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="https://www.hdfgroup.org/HDF5"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://support.hdfgroup.org/ftp/HDF5/releases/$PACKAGE-${VERSION%.*}/$PACKAGE-$VERSION/src/$TARBALL"
14 DEPENDS="zlib"
15 BUILD_DEPENDS="cmake szip zlib-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://support.hdfgroup.org/ftp/HDF5/releases/$( \
21 wget -O - https://support.hdfgroup.org/ftp/HDF5/releases/ 2>/dev/null | \
22 sed '/\/">hdf5-[0-9]/!d;s|.*hdf5-|hdf5-|;s|/.*|/|' | sort -Vr | sed q) 2>/dev/null | \
23 sed '/\/">hdf5-[0-9]/!d;s|.*hdf5-||;s|/.*||' | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i 's/Using_CMake.txt/USING_CMake.txt/' \
30 src/CMakeLists.txt
32 ./configure $CONFIGURE_ARGS &&
33 make -j 1 all &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 rm -f $fs/usr/lib/*a
45 }