diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2021-03-28 03:16:28 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-04-03 08:48:27 +0700 |
commit | ca16581981a18980bd78c95dfad4056b441493c0 (patch) | |
tree | ec62cf82869d858e18a41f4cda6f68b6ab1e120d /gis | |
parent | f1a280698731eaf5cdfc94aabfb2110460b5a63d (diff) |
gis/gdal: Updated for version 3.2.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r-- | gis/gdal/gdal.SlackBuild | 20 | ||||
-rw-r--r-- | gis/gdal/gdal.info | 6 |
2 files changed, 7 insertions, 19 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild index bbe278050ddf6..89c9e3878b992 100644 --- a/gis/gdal/gdal.SlackBuild +++ b/gis/gdal/gdal.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for GDAL # Copyright 2009 Marco Cecchetti <mrc.ild@gmail.com> +# Updated 2019-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ # Maintained by David Spencer <baildon.research@googlemail.com> PRGNAM=gdal -VERSION=${VERSION:-3.0.4} +VERSION=${VERSION:-3.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -130,7 +131,7 @@ CXXFLAGS="$SLKCFLAGS" \ --without-grib \ --with-static-proj4 \ --with-mysql \ - --with-python \ + --with-python=/usr/bin/python3 \ --with-poppler \ --with-libtiff=internal \ --with-rename-internal-libtiff-symbols=yes \ @@ -143,23 +144,10 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -cd swig/python - rm -rf build - python3 setup.py build - python3 setup.py install --root=$PKG --prefix=/usr -cd - >/dev/null - 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 -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 - -make -f GNUmakefile -B docs -# --docdir is ignored :-( -make install-docs DESTDIR=$PKG INST_DOCS=/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ COMMITTERS HOWTO-RELEASE LICENSE.TXT NEWS PROVENANCE.TXT VERSION \ $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info index 86514a9a92176..6f9bdf4d9e720 100644 --- a/gis/gdal/gdal.info +++ b/gis/gdal/gdal.info @@ -1,8 +1,8 @@ PRGNAM="gdal" -VERSION="3.0.4" +VERSION="3.2.2" HOMEPAGE="https://www.gdal.org/" -DOWNLOAD="https://download.osgeo.org/gdal/3.0.4/gdal-3.0.4.tar.xz" -MD5SUM="8996bbee51e73b5a968d8d0f48895ac8" +DOWNLOAD="https://download.osgeo.org/gdal/3.2.2/gdal-3.2.2.tar.xz" +MD5SUM="c656be582f7beb528c66486cd1fca7a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="geos proj python3" |