summaryrefslogtreecommitdiff
path: root/libraries/gdal
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2010-08-14 08:36:17 -0500
committerErik Hanson <erik@slackbuilds.org>2010-08-14 19:04:49 -0500
commit487954b81099febfcb84721c97e84cafdb0b5b9c (patch)
treeec29525e42b149b69256035c07562784d757de12 /libraries/gdal
parent5dc8673c207bbf83bba8b2c82a91dbeac615ffe5 (diff)
downloadslackbuilds-487954b81099febfcb84721c97e84cafdb0b5b9c.tar.gz
libraries/gdal: Updated for version 1.7.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/gdal')
-rw-r--r--libraries/gdal/gdal.SlackBuild20
-rw-r--r--libraries/gdal/gdal.info10
2 files changed, 18 insertions, 12 deletions
diff --git a/libraries/gdal/gdal.SlackBuild b/libraries/gdal/gdal.SlackBuild
index b18f4ebb5a..120ef7c106 100644
--- a/libraries/gdal/gdal.SlackBuild
+++ b/libraries/gdal/gdal.SlackBuild
@@ -1,18 +1,17 @@
#!/bin/sh
# Slackware build script for GDAL
-# Written by Marco Cecchetti <mrc.ild@gmail.com>
+# Originally written by Marco Cecchetti <mrc.ild@gmail.com>
+# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=gdal
-VERSION=1.6.3
+VERSION=1.7.2
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -36,7 +35,6 @@ else
LIBDIRSUFFIX=""
fi
-
set -e
rm -rf $PKG
@@ -52,6 +50,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+WITHLIST=""
+if [[ "$GRASS" = "yes" ]]; then
+ WITHLIST+=" --with-grass=/usr/lib${LIBDIRSUFFIX}/grass"
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -65,14 +68,17 @@ CXXFLAGS="$SLKCFLAGS" \
--with-ogr=yes \
--with-libz=/usr/lib${LIBDIRSUFFIX} \
--with-libtiff=internal \
- --with-hide-internal-symbols=yes \
--with-curl=/usr/bin/curl-config \
--without-grib \
--with-static-proj4 \
+ --with-mysql \
+ --with-python \
+ $WITHLIST \
--build=$ARCH-slackware-linux
-
+
make
make install DESTDIR=$PKG
+make -f GNUmakefile -B man
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/gdal/gdal.info b/libraries/gdal/gdal.info
index 617c6cff7c..e05cb7672d 100644
--- a/libraries/gdal/gdal.info
+++ b/libraries/gdal/gdal.info
@@ -1,10 +1,10 @@
PRGNAM="gdal"
-VERSION="1.6.3"
+VERSION="1.7.2"
HOMEPAGE="http://www.gdal.org/"
-DOWNLOAD="http://download.osgeo.org/gdal/gdal-1.6.3.tar.gz"
-MD5SUM="a8aade344a29ae4a92a0f17cc33f561a"
+DOWNLOAD="http://download.osgeo.org/gdal/gdal-1.7.2.tar.gz"
+MD5SUM="05351f8cb61761ae579667e24a297fe6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Spencer"
-EMAIL="nobbutl@yahoo.co.uk"
-APPROVED="dsomero"
+EMAIL="baildon.research@googlemail.com"
+APPROVED="Erik Hanson"