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>
This commit is contained in:
ArTourter 2023-05-18 19:28:24 +01:00 committed by Willy Sudiarto Raharjo
parent 111484f41d
commit 23f787e9d5
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
3 changed files with 10 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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"