mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
gis/saga-gis: Updated for version 9.3.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d526859246
commit
38ce705a97
2 changed files with 5 additions and 15 deletions
|
@ -26,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=saga-gis
|
||||
VERSION=${VERSION:-9.3.1}
|
||||
VERSION=${VERSION:-9.3.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -81,22 +81,13 @@ if [[ "$ARCH" = "i586" || "$ARCH" = "i686" ]] ; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ -d /usr/share/cmake-3.28 ]; then
|
||||
if [ -d /usr/share/cmake-3.29 ]; then
|
||||
# This prevents some cmake warnings in current
|
||||
CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0153=OLD "
|
||||
else
|
||||
CMAKE_POLICY=""
|
||||
fi
|
||||
|
||||
# Build of Python bindings must be disabled in current
|
||||
# since the compilation with swig fails after the upgrade
|
||||
# to version 4.2.0
|
||||
if [ -d /usr/share/swig/4.0.2 ]; then
|
||||
WITHPYTHON=""
|
||||
else
|
||||
WITHPYTHON="-DWITH_PYTHON=OFF "
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
|
@ -119,7 +110,6 @@ cd build
|
|||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_MANDIR=/usr/man \
|
||||
$CMAKE_POLICY \
|
||||
$WITHPYTHON \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install/strip DESTDIR=$PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="saga-gis"
|
||||
VERSION="9.3.1"
|
||||
VERSION="9.3.2"
|
||||
HOMEPAGE="http://www.saga-gis.org"
|
||||
DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.3.1/saga-9.3.1.tar.gz/download"
|
||||
MD5SUM="977a47f2c6b552c5fbec5479bfb4030c"
|
||||
DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.3.2/saga-9.3.2.tar.gz"
|
||||
MD5SUM="7880d0216e493dd6b9cbf7c9cf398889"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="wxWidgets"
|
||||
|
|
Loading…
Reference in a new issue