aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
Diffstat (limited to 'libraries')
-rw-r--r--libraries/gdal/README4
-rw-r--r--libraries/gdal/gdal.SlackBuild8
-rw-r--r--libraries/gdal/gdal.info8
-rw-r--r--libraries/gdal/slack-desc2
4 files changed, 14 insertions, 8 deletions
diff --git a/libraries/gdal/README b/libraries/gdal/README
index eac68ea9ab981..dc4607d340e56 100644
--- a/libraries/gdal/README
+++ b/libraries/gdal/README
@@ -9,3 +9,7 @@ The related OGR library (which is part of the GDAL source tree)
provides a similar capability for simple features vector data.
This requires geos and proj.
+
+To include gdal's optional support for grass, rebuild gdal after
+grass is installed. If you don't want grass support, pass
+GRASS=no to the script.
diff --git a/libraries/gdal/gdal.SlackBuild b/libraries/gdal/gdal.SlackBuild
index 120ef7c1062b0..ead65586c9b8a 100644
--- a/libraries/gdal/gdal.SlackBuild
+++ b/libraries/gdal/gdal.SlackBuild
@@ -4,7 +4,7 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=gdal
-VERSION=1.7.2
+VERSION=${VERSION:-1.7.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -51,8 +51,10 @@ find . \
-exec chmod 644 {} \;
WITHLIST=""
-if [[ "$GRASS" = "yes" ]]; then
- WITHLIST+=" --with-grass=/usr/lib${LIBDIRSUFFIX}/grass"
+if pkg-config --exists grass; then
+ if [ ${GRASS:-yes} = "yes" ]; then
+ WITHLIST+=" --with-grass=$(pkg-config --variable=prefix grass)"
+ fi
fi
CFLAGS="$SLKCFLAGS" \
diff --git a/libraries/gdal/gdal.info b/libraries/gdal/gdal.info
index e05cb7672d0c3..f2a7c1a65b72a 100644
--- a/libraries/gdal/gdal.info
+++ b/libraries/gdal/gdal.info
@@ -1,10 +1,10 @@
PRGNAM="gdal"
-VERSION="1.7.2"
+VERSION="1.7.3"
HOMEPAGE="http://www.gdal.org/"
-DOWNLOAD="http://download.osgeo.org/gdal/gdal-1.7.2.tar.gz"
-MD5SUM="05351f8cb61761ae579667e24a297fe6"
+DOWNLOAD="http://download.osgeo.org/gdal/gdal-1.7.3.tar.gz"
+MD5SUM="c4673970bd2285032de9ae9bbd82754a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"
-APPROVED="Erik Hanson"
+APPROVED="Niels Horn"
diff --git a/libraries/gdal/slack-desc b/libraries/gdal/slack-desc
index 4cc9fd840c54e..a17ab6f6e91e4 100644
--- a/libraries/gdal/slack-desc
+++ b/libraries/gdal/slack-desc
@@ -12,7 +12,7 @@ gdal: The Geospatial Data Abstraction Library (GDAL) is a unifying
gdal: C/C++ API for accessing raster geospatial data, and currently
gdal: includes formats like GeoTIFF, Erdas Imagine, Arc/Info Binary,
gdal: CEOS, DTED, GXF, and SDTS.
-gdal:
+gdal:
gdal: Homepage: http://www.gdal.org
gdal:
gdal: