aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorArTourter <artourter@gmail.com>2023-08-04 22:41:02 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-08-05 08:32:49 +0700
commit5bf361ebb1d7b1a74caf46b8f4a55cc456a6f745 (patch)
tree569fee4b53a9d37ed7b39dea7c9bb65a66ef0ed0 /gis
parent64013a9b0ea54ecd251ad54a6de848d6d58fbaac (diff)
gis/eccodes: restore 32bit support
freeze 32bit version to 2.29.0. Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/eccodes/README3
-rw-r--r--gis/eccodes/eccodes.SlackBuild2
-rw-r--r--gis/eccodes/eccodes.info4
3 files changed, 7 insertions, 2 deletions
diff --git a/gis/eccodes/README b/gis/eccodes/README
index 641e64d11843..b592d858ebc8 100644
--- a/gis/eccodes/README
+++ b/gis/eccodes/README
@@ -16,3 +16,6 @@ formats with a key/value approach.
netcdf is an optional dependency and support will be compiled in if it
is installed.
+
+NOTE: for 32bit platforms, the version is locked to 2.29.0 as 32 bit
+support was dropped in version 2.30.0 and above.
diff --git a/gis/eccodes/eccodes.SlackBuild b/gis/eccodes/eccodes.SlackBuild
index 9bd14ba953d0..6a41c22ed2bc 100644
--- a/gis/eccodes/eccodes.SlackBuild
+++ b/gis/eccodes/eccodes.SlackBuild
@@ -50,9 +50,11 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
+ VERSION=2.29.0
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
+ VERSION=2.29.0
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
diff --git a/gis/eccodes/eccodes.info b/gis/eccodes/eccodes.info
index c87f2fdd05ea..b2036e73ebd7 100644
--- a/gis/eccodes/eccodes.info
+++ b/gis/eccodes/eccodes.info
@@ -1,8 +1,8 @@
PRGNAM="eccodes"
VERSION="2.31.0"
HOMEPAGE="https://confluence.ecmwf.int/display/ECC"
-DOWNLOAD="UNSUPPORTED"
-MD5SUM=""
+DOWNLOAD="https://confluence.ecmwf.int/download/attachments/45757960/eccodes-2.29.0-Source.tar.gz"
+MD5SUM="612098bba3763e0ff0fd4c360b1f3121"
DOWNLOAD_x86_64="https://confluence.ecmwf.int/download/attachments/45757960/eccodes-2.31.0-Source.tar.gz"
MD5SUM_x86_64="3dc75043bf02b04ff81be059e41a6ca6"
REQUIRES="libaec"