wok view hdf5/receipt @ rev 25779
Up fdutils (5.6), lite (1.11), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 20 09:24:30 2024 +0000 (2 months ago) |
parents | 8ed7694bbe1f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hdf5"
4 VERSION="1.14.3"
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 }