aboutsummaryrefslogtreecommitdiff
path: root/gis/saga-gis/saga-gis.SlackBuild
diff options
context:
space:
mode:
authorGiancarlo Dessi <slack@giand.it>2023-11-02 00:50:56 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-11-04 16:39:19 +0700
commit613cafa06ea6a76f785664345f65ae8426703d20 (patch)
tree0aca8b44edffa1cfe242a79a639d995547f49b32 /gis/saga-gis/saga-gis.SlackBuild
parent7dcbd66f3bf4f285479d26e11686ae6726ba9761 (diff)
gis/saga-gis: Updated for version 9.2.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/saga-gis/saga-gis.SlackBuild')
-rw-r--r--gis/saga-gis/saga-gis.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/gis/saga-gis/saga-gis.SlackBuild b/gis/saga-gis/saga-gis.SlackBuild
index df58249eda651..9a9734a4a598b 100644
--- a/gis/saga-gis/saga-gis.SlackBuild
+++ b/gis/saga-gis/saga-gis.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=saga-gis
-VERSION=${VERSION:-9.1.2}
+VERSION=${VERSION:-9.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -53,21 +53,17 @@ OUTPUT=${OUTPUT:-/tmp}
# issues with -O2 causing build failures
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-march=i586 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"
- LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-fPIC"
- LIBDIRSUFFIX="64"
else
SLKCFLAGS=""
- LIBDIRSUFFIX=""
fi
set -e
-# unixODBC is needed in 32 bit systems instead of libiodbc released
+# unixODBC is needed in 32 bit systems instead of libiodbc released
# with Slackware 15.0. The slackbuild stops if unixODBC is not installed
if [[ "$ARCH" = "i586" || "$ARCH" = "i686" ]] ; then
if ! [ -f /usr/lib/libodbc.so ] ; then
@@ -90,7 +86,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+cd $SRCNAM-$VERSION/saga-gis
chown -R root:root .
find -L . \
@@ -98,7 +94,6 @@ find -L . \
-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 {} \;
-cd saga-gis
mkdir -p build
cd build