diff options
author | David Spencer <baildon.research@googlemail.com> | 2017-11-17 15:25:05 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-11-18 12:40:32 +0700 |
commit | 40814027df5f2c48608d5e3b1cd39361e6c99ea6 (patch) | |
tree | e57a65b5e8770860060f0ce12a2de2740180b9dd /libraries/netcdf/netcdf.SlackBuild | |
parent | 624af05ba78831b7f62e5992d5cbb2b64debf688 (diff) |
libraries/netcdf: Updated for version 4.5.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/netcdf/netcdf.SlackBuild')
-rw-r--r-- | libraries/netcdf/netcdf.SlackBuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libraries/netcdf/netcdf.SlackBuild b/libraries/netcdf/netcdf.SlackBuild index 1b4f6d4dc61f2..50c04c5b56d7d 100644 --- a/libraries/netcdf/netcdf.SlackBuild +++ b/libraries/netcdf/netcdf.SlackBuild @@ -26,7 +26,7 @@ PRGNAM=netcdf SRCNAM=netcdf-c -VERSION=${VERSION:-4.4.1.1} +VERSION=${VERSION:-4.5.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} @@ -79,6 +79,12 @@ else hdf4opt="" fi +if [ "${CDF5:-no}" = 'yes' ]; then + cdf5opt="--enable-cdf5" +else + cdf5opt="" +fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -93,6 +99,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-netcdf-4 \ --enable-dap-netcdf \ ${hdf4opt} \ + ${cdf5opt} \ --build=$ARCH-slackware-linux make |