summaryrefslogtreecommitdiff
path: root/gis/gdal/gdal.SlackBuild
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/gdal.SlackBuild
parentbd673e29e9d4b4024d1efb21e954277534ac0f8e (diff)
downloadslackbuilds-ed4e476ca5ef21c75d5ea20dcd2170de241e5613.tar.gz
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/gdal.SlackBuild')
-rw-r--r--gis/gdal/gdal.SlackBuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index d6e640039e..1a47ea60cd 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