wok-6.x view hdf5/receipt @ rev 25345

updated tar and tar-lang (1.32 -> 1.34)
author Hans-G?nter Theisgen
date Mon Jul 25 07:58:01 2022 +0100 (2022-07-25)
parents 89c8d8b6cf48
children
line source
1 # SliTaz package receipt.
3 PACKAGE="hdf5"
4 VERSION="1.12.1"
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 all &&
34 make install DESTDIR=$DESTDIR
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_folders bin
41 cook_copy_folders lib
42 rm -f $fs/usr/lib/*a
43 }