aboutsummaryrefslogtreecommitdiff
path: root/academic/cdo/cdo.SlackBuild
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/cdo.SlackBuild
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/cdo.SlackBuild')
-rw-r--r--academic/cdo/cdo.SlackBuild7
1 files changed, 4 insertions, 3 deletions
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