libraries/gdal: Updated for version 1.7.2.

Signed-off-by: Erik Hanson <erik@slackbuilds.org>
This commit is contained in:
David Spencer 2010-08-14 08:36:17 -05:00 committed by Erik Hanson
parent 5dc8673c20
commit 487954b810
2 changed files with 18 additions and 12 deletions

View file

@ -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

View file

@ -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"