wok-6.x diff hdf5/receipt @ rev 24588

updated gdbm and gdbm-dev (1.18.1 -> 1.23)
author Hans-G?nter Theisgen
date Mon Feb 28 15:06:59 2022 +0100 (2022-02-28)
parents 4e60ad201909
children 8ed7694bbe1f
line diff
     1.1 --- a/hdf5/receipt	Wed Feb 26 15:03:15 2020 +0100
     1.2 +++ b/hdf5/receipt	Mon Feb 28 15:06:59 2022 +0100
     1.3 @@ -14,6 +14,15 @@
     1.4  DEPENDS="zlib"
     1.5  BUILD_DEPENDS="cmake szip zlib-dev"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://support.hdfgroup.org/ftp/HDF5/releases/$( \
    1.11 +	wget -O - https://support.hdfgroup.org/ftp/HDF5/releases/ 2>/dev/null | \
    1.12 +	sed '/\/">hdf5-[0-9]/!d;s|.*hdf5-|hdf5-|;s|/.*|/|' | sort -Vr | sed q) 2>/dev/null | \
    1.13 +	sed '/\/">hdf5-[0-9]/!d;s|.*hdf5-||;s|/.*||' | sort -Vr | sed q
    1.14 +}
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {