summaryrefslogtreecommitdiff
path: root/gis/gdal/gdal.SlackBuild
diff options
context:
space:
mode:
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