aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-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 b18f4ebb5a10..120ef7c1062b 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 617c6cff7c8f..e05cb7672d0c 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"