aboutsummaryrefslogtreecommitdiff
path: root/libraries/netcdf/netcdf.SlackBuild
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/netcdf.SlackBuild
parentf50af611b025dd31372448acfbb411cc95ce3756 (diff)
libraries/netcdf: Updated for version 4.7.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/netcdf/netcdf.SlackBuild')
-rw-r--r--libraries/netcdf/netcdf.SlackBuild14
1 files changed, 3 insertions, 11 deletions
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