aboutsummaryrefslogtreecommitdiff
path: root/libraries/netcdf
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2020-05-10 08:13:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-10 09:29:54 +0700
commitd5fb41a472b4ae9cf487265cf0d476c482119137 (patch)
tree19f9334dc4a1edb3032288d2a3f41cd20b9a6833 /libraries/netcdf
parentf50af611b025dd31372448acfbb411cc95ce3756 (diff)
libraries/netcdf: Updated for version 4.7.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/netcdf')
-rw-r--r--libraries/netcdf/README12
-rw-r--r--libraries/netcdf/netcdf.SlackBuild14
-rw-r--r--libraries/netcdf/netcdf.info6
3 files changed, 6 insertions, 26 deletions
diff --git a/libraries/netcdf/README b/libraries/netcdf/README
index 61374e1929af8..dae0880c193ee 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 3c1449d46d15c..d5ab90e6f2c03 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 <baildon.research@googlemail.com>
+# Maintained by Gregory J. L. Tourte <artourter@gmail.com>
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 edcedb5fae8a8..00bfd35100908 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"