gis/saga-gis: Updated for version 2.2.3.

Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
This commit is contained in:
Benjamin Trigona-Harany 2016-01-25 03:20:49 -08:00 committed by Willy Sudiarto Raharjo
parent 1e463715c9
commit eb31bf2147
3 changed files with 10 additions and 17 deletions

View file

@ -3,7 +3,7 @@ System software with immense capabilities for geodata processing and analysis.
SAGA supports the implementation of new functions with an effective API. SAGA supports the implementation of new functions with an effective API.
Functions are organised as modules in framework independent Module Libraries Functions are organised as modules in framework independent Module Libraries
and can be accessed via SAGAs Graphical User Interface or various scripting and can be accessed via SAGA's Graphical User Interface or various scripting
environments (shell scripts, Python, R and so on). environments (shell scripts, Python, R and so on).
SAGA can use these optional dependencies: postgresql, opencv and vigra. SAGA can use these optional dependencies: postgresql, opencv and vigra.

View file

@ -24,7 +24,7 @@
PRGNAM=saga PRGNAM=saga
PKGNAM=${PRGNAM}-gis PKGNAM=${PRGNAM}-gis
VERSION=${VERSION:-2.1.2} VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -57,13 +57,12 @@ fi
set -e set -e
SRCNAM=${PRGNAM}_${VERSION}_src
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $SRCNAM rm -rf $PRGNAM-$VERSION
unzip $CWD/$SRCNAM.zip tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz
cd $SRCNAM/$PKGNAM cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -71,13 +70,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -e '\#src/modules/imagery/imagery_photogrammetry/Makefile#d' -i configure.ac
aclocal
autoheader
libtoolize
automake --add-missing
autoreconf -i
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
@ -86,6 +78,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \ --mandir=/usr/man \
--enable-python \ --enable-python \
--disable-odbc \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make

View file

@ -1,10 +1,10 @@
PRGNAM="saga-gis" PRGNAM="saga-gis"
VERSION="2.1.2" VERSION="2.2.3"
HOMEPAGE="http://www.saga-gis.org" HOMEPAGE="http://www.saga-gis.org"
DOWNLOAD="http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.1/SAGA%202.1.2/saga_2.1.2_src.zip" DOWNLOAD="http://sourceforge.net/projects/saga-gis/files/SAGA%20-%202.2/SAGA%202.2.3/saga_2.2.3.tar.gz"
MD5SUM="527f4c703cfd4c28296728b00131dd9c" MD5SUM=""
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="gdal unixODBC wxGTK3" REQUIRES="gdal wxGTK3"
MAINTAINER="Benjamin Trigona-Harany" MAINTAINER="Benjamin Trigona-Harany"
EMAIL="slackbuilds@jaxartes.net" EMAIL="slackbuilds@jaxartes.net"