From d5fb41a472b4ae9cf487265cf0d476c482119137 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sun, 10 May 2020 08:13:13 +0700 Subject: libraries/netcdf: Updated for version 4.7.4. Signed-off-by: Willy Sudiarto Raharjo --- libraries/netcdf/README | 12 ------------ libraries/netcdf/netcdf.SlackBuild | 14 +++----------- libraries/netcdf/netcdf.info | 6 +++--- 3 files changed, 6 insertions(+), 26 deletions(-) (limited to 'libraries/netcdf') diff --git a/libraries/netcdf/README b/libraries/netcdf/README index 61374e1929..dae0880c19 100644 --- a/libraries/netcdf/README +++ b/libraries/netcdf/README @@ -14,15 +14,3 @@ the 'hdf' package from SlackBuilds.org, and then pass the option HDF4=yes ./netcdf.SlackBuild -Optional CDF5 support ---------------------- - -CDF5 support is not yet enabled by default. According to the release -notes [1], reading and writing CDF5 files on 32-bit platforms may -result in unexpected behavior when using extremely large variables. If -you need CDF5 support, please pass the option 'CDF5=yes' to the netcdf -SlackBuild, for example - - CDF5=yes ./netcdf.SlackBuild - -[1] https://www.unidata.ucar.edu/software/netcdf/docs/RELEASE_NOTES.html diff --git a/libraries/netcdf/netcdf.SlackBuild b/libraries/netcdf/netcdf.SlackBuild index 3c1449d46d..d5ab90e6f2 100644 --- a/libraries/netcdf/netcdf.SlackBuild +++ b/libraries/netcdf/netcdf.SlackBuild @@ -23,11 +23,12 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # # Maintained by David Spencer +# Maintained by Gregory J. L. Tourte PRGNAM=netcdf SRCNAM=netcdf-c -VERSION=${VERSION:-4.6.2} -BUILD=${BUILD:-2} +VERSION=${VERSION:-4.7.4} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -79,12 +80,6 @@ else hdf4opt="" fi -if [ "${CDF5:-no}" = 'yes' ]; then - cdf5opt="--enable-cdf5" -else - cdf5opt="" -fi - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -96,10 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \ --datarootdir=/usr \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --enable-static=no \ - --enable-netcdf-4 \ - --enable-dap-netcdf \ ${hdf4opt} \ - ${cdf5opt} \ --build=$ARCH-slackware-linux make diff --git a/libraries/netcdf/netcdf.info b/libraries/netcdf/netcdf.info index edcedb5fae..00bfd35100 100644 --- a/libraries/netcdf/netcdf.info +++ b/libraries/netcdf/netcdf.info @@ -1,8 +1,8 @@ PRGNAM="netcdf" -VERSION="4.6.2" +VERSION="4.7.4" HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" -DOWNLOAD="https://github.com/Unidata/netcdf-c/archive/v4.6.2/netcdf-c-4.6.2.tar.gz" -MD5SUM="7d3a25ec23e1fd7c1c7cdca7aa4a498c" +DOWNLOAD="https://github.com/Unidata/netcdf-c/archive/v4.7.4/netcdf-c-4.7.4.tar.gz" +MD5SUM="33979e8f0cf4ee31323fc0934282111b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="hdf5" -- cgit v1.2.3