aboutsummaryrefslogtreecommitdiff
path: root/academic/cdo
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2023-05-18 19:28:24 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-05-20 11:17:24 +0700
commit23f787e9d508f928ed1b97befc0178848042c8c0 (patch)
tree0b024732c05bc61239a7cd8d6cbdf85837f6e775 /academic/cdo
parent111484f41d74617888c6f2d4e06d964ed394c355 (diff)
academic/cdo: Updated for version 2.2.0.
Add dependency for newly submitted package eccodes Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/cdo')
-rw-r--r--academic/cdo/README2
-rw-r--r--academic/cdo/cdo.SlackBuild7
-rw-r--r--academic/cdo/cdo.info8
3 files changed, 10 insertions, 7 deletions
diff --git a/academic/cdo/README b/academic/cdo/README
index bd81fec126b67..a7fcde9c55a4b 100644
--- a/academic/cdo/README
+++ b/academic/cdo/README
@@ -6,6 +6,8 @@ Climate and NWP model Data.
Supported data formats are GRIB 1/2, netCDF 3/4, SERVICE, EXTRA and
IEG. There are more than 600 operators available.
+REQUIRES: proj udunits netcdf eccodes
+
By default, the script does not build nor run the tests. You can use the
option TESTBUILD=YES to build and run the tests before the make install
part. Note that the hdf5 slackbuild builds the library in a
diff --git a/academic/cdo/cdo.SlackBuild b/academic/cdo/cdo.SlackBuild
index b778ab52cc022..18ce728fef974 100644
--- a/academic/cdo/cdo.SlackBuild
+++ b/academic/cdo/cdo.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for cdo
-# Copyright 2020-2022 Gregory J. L. Tourte <artourter@gmail.com>
+# Copyright 2020-2023 Gregory J. L. Tourte <artourter@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=cdo
-VERSION=${VERSION:-2.1.1}
+VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -88,6 +88,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-static \
+ --with-eccodes=yes \
--with-szlib=yes \
--with-netcdf=yes \
--with-hdf5=yes \
@@ -109,7 +110,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog NEWS OPERATORS README \
+ AUTHORS ChangeLog LICENSE NEWS OPERATORS README \
doc/*.pdf \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/academic/cdo/cdo.info b/academic/cdo/cdo.info
index 4b152aa17036b..58c603dc8e256 100644
--- a/academic/cdo/cdo.info
+++ b/academic/cdo/cdo.info
@@ -1,10 +1,10 @@
PRGNAM="cdo"
-VERSION="2.1.1"
+VERSION="2.2.0"
HOMEPAGE="https://code.mpimet.mpg.de/projects/cdo"
-DOWNLOAD="https://code.mpimet.mpg.de/attachments/download/27654/cdo-2.1.1.tar.gz"
-MD5SUM="5dd3ae56a6f43b718009b8749c1618b4"
+DOWNLOAD="https://code.mpimet.mpg.de/attachments/download/28013/cdo-2.2.0.tar.gz"
+MD5SUM="8873f58693011252c08364f66bcd9864"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="proj udunits netcdf"
+REQUIRES="proj udunits netcdf eccodes"
MAINTAINER="ArTourter"
EMAIL="artourter@gmail.com"