aboutsummaryrefslogtreecommitdiff
path: root/gis/gdal
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2017-05-11 21:01:36 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-05-13 06:58:50 +0700
commited4e476ca5ef21c75d5ea20dcd2170de241e5613 (patch)
treeaeab6416362319f692107a350da0e65fca24a5b9 /gis/gdal
parentbd673e29e9d4b4024d1efb21e954277534ac0f8e (diff)
gis/gdal: Updated for version 2.2.0.
Thanks to Ben Trigona-Harany :) Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'gis/gdal')
-rw-r--r--gis/gdal/README4
-rw-r--r--gis/gdal/gdal.SlackBuild11
-rw-r--r--gis/gdal/gdal.info6
3 files changed, 9 insertions, 12 deletions
diff --git a/gis/gdal/README b/gis/gdal/README
index 33a4894063282..064469fb17050 100644
--- a/gis/gdal/README
+++ b/gis/gdal/README
@@ -9,7 +9,9 @@ The related OGR library (which is part of the GDAL source tree)
provides a similar capability for simple features vector data.
The following optional requirements are detected automatically:
-cfitsio, freexl, hdf, hdf5, libwebp, netcdf, postgresql, xerces-c
+
+ cfitsio, freexl, hdf, hdf5, libkml, libwebp, netcdf,
+ postgresql, xerces-c
To enable OpenCL GPU-accelerated performance, specify the option
OPENCL=yes (requires opencl-headers to build, and either nvidia-driver
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index d6e640039ecc3..1a47ea60cdd25 100644
--- a/gis/gdal/gdal.SlackBuild
+++ b/gis/gdal/gdal.SlackBuild
@@ -25,7 +25,7 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=gdal
-VERSION=${VERSION:-2.1.3}
+VERSION=${VERSION:-2.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -124,7 +124,6 @@ CXXFLAGS="$SLKCFLAGS" \
--enable-static=no \
--with-threads \
--with-geos=yes \
- --with-ogr=yes \
--with-libz=/usr/lib${LIBDIRSUFFIX} \
--with-liblzma \
--with-curl=/usr/bin/curl-config \
@@ -137,22 +136,18 @@ CXXFLAGS="$SLKCFLAGS" \
--with-rename-internal-libtiff-symbols=yes \
--with-geotiff=internal \
--with-rename-internal-libgeotiff-symbols=yes \
+ --with-jasper=no \
$WITHLIST \
--build=$ARCH-slackware-linux
-make -j1
+make
make install DESTDIR=$PKG
-# Kill erroneously installed .dox files
-rm $PKG/usr/bin/*.dox
-
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
make -f GNUmakefile -B man
make install-man DESTDIR=$PKG
-# smite some junk files
-rm -f $PKG/usr/man/man1/_*_.1
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info
index d26d44b02e904..ece92e7d80fbe 100644
--- a/gis/gdal/gdal.info
+++ b/gis/gdal/gdal.info
@@ -1,8 +1,8 @@
PRGNAM="gdal"
-VERSION="2.1.3"
+VERSION="2.2.0"
HOMEPAGE="http://www.gdal.org/"
-DOWNLOAD="http://download.osgeo.org/gdal/2.1.3/gdal-2.1.3.tar.xz"
-MD5SUM="66f36c08b7ec6d31bda99083f179d183"
+DOWNLOAD="http://download.osgeo.org/gdal/2.2.0/gdal-2.2.0.tar.xz"
+MD5SUM="9bb6eb25fb746045ee309c4f883cbf94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="geos proj"