diff options
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 |