aboutsummaryrefslogtreecommitdiff
path: root/gis/saga-gis/saga-gis.SlackBuild
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <bosth@alumni.sfu.ca>2016-01-25 03:20:49 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:59:05 +0700
commiteb31bf21473f198309d9c5c09175aa8a705d5404 (patch)
treecf8e86f6e009f3217612ef4dc64ba5d272bcec9c /gis/saga-gis/saga-gis.SlackBuild
parent1e463715c947c140c2e6c980872f88401923ef75 (diff)
gis/saga-gis: Updated for version 2.2.3.
Signed-off-by: Benjamin Trigona-Harany <bosth@alumni.sfu.ca>
Diffstat (limited to 'gis/saga-gis/saga-gis.SlackBuild')
-rw-r--r--gis/saga-gis/saga-gis.SlackBuild17
1 files changed, 5 insertions, 12 deletions
diff --git a/gis/saga-gis/saga-gis.SlackBuild b/gis/saga-gis/saga-gis.SlackBuild
index c86622b071c68..87e9e233cd0f1 100644
--- a/gis/saga-gis/saga-gis.SlackBuild
+++ b/gis/saga-gis/saga-gis.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=saga
PKGNAM=${PRGNAM}-gis
-VERSION=${VERSION:-2.1.2}
+VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,13 +57,12 @@ fi
set -e
-SRCNAM=${PRGNAM}_${VERSION}_src
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM
-unzip $CWD/$SRCNAM.zip
-cd $SRCNAM/$PKGNAM
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/${PRGNAM}_$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -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 \
-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" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -86,6 +78,7 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--enable-python \
+ --disable-odbc \
--build=$ARCH-slackware-linux
make