diff options
author | ArTourter <artourter@gmail.com> | 2023-10-07 22:42:24 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-10-14 09:03:17 +0700 |
commit | 3aceeeb8aa5f5952849b6892d1c31dde1360d9c5 (patch) | |
tree | 5b3cadf2d381254826ae1fc2972ae8bef81e40b8 /gis/eccodes/eccodes.SlackBuild | |
parent | 807df926d29f99eeb4255d2af7acb4ff5554b0b2 (diff) |
gis/eccodes: Updated for version 2.32.0.
removed 32bit support again as even prior to version 2.30.0, 32bit
compilation failed.
Signed-off-by: ArTourter <artourter@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/eccodes/eccodes.SlackBuild')
-rw-r--r-- | gis/eccodes/eccodes.SlackBuild | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gis/eccodes/eccodes.SlackBuild b/gis/eccodes/eccodes.SlackBuild index 6a41c22ed2..00bf8bcff8 100644 --- a/gis/eccodes/eccodes.SlackBuild +++ b/gis/eccodes/eccodes.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=eccodes -VERSION=${VERSION:-2.31.0} +VERSION=${VERSION:-2.32.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,11 +50,9 @@ 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" @@ -77,10 +75,8 @@ tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.gz cd $PRGNAM-$VERSION-Source chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -perm /111 -a \! -perm 755 -a -exec chmod 755 {} + -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} + mkdir -p build cd build |