mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
gis/saga-gis: Updated for version 9.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
efb500ba2e
commit
4e7bf32921
2 changed files with 13 additions and 5 deletions
|
@ -26,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=saga-gis
|
||||
VERSION=${VERSION:-9.2.0}
|
||||
VERSION=${VERSION:-9.3.0}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -81,6 +81,13 @@ if [[ "$ARCH" = "i586" || "$ARCH" = "i686" ]] ; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ -d /usr/share/cmake-3.28 ]; then
|
||||
# This prevents some cmake warnings in current
|
||||
CMAKE_POLICY="-DCMAKE_POLICY_DEFAULT_CMP0153=OLD "
|
||||
else
|
||||
CMAKE_POLICY=""
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
|
@ -102,8 +109,9 @@ cd build
|
|||
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_MANDIR=/usr/man \
|
||||
$CMAKE_POLICY \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make -j 10
|
||||
make install/strip DESTDIR=$PKG
|
||||
cd ..
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="saga-gis"
|
||||
VERSION="9.2.0"
|
||||
VERSION="9.3.0"
|
||||
HOMEPAGE="http://www.saga-gis.org"
|
||||
DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.2.0/saga-9.2.0.tar.gz/download"
|
||||
MD5SUM="ddb4bdba4765ac749fe6877bb66bc0ef"
|
||||
DOWNLOAD="https://sourceforge.net/projects/saga-gis/files/SAGA%20-%209/SAGA%20-%209.3.0/saga-9.3.0.tar.gz/download"
|
||||
MD5SUM="40f31791bfc1ea2fe65fb419e96a3325"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="wxWidgets"
|
||||
|
|
Loading…
Reference in a new issue