summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gis/gdal/gdal.SlackBuild16
-rw-r--r--gis/gdal/gdal.info8
2 files changed, 11 insertions, 13 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild
index 2973ebf43c..420ad8de91 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.2.4}
+VERSION=${VERSION:-3.0.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -143,13 +143,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-if $(python3 -c 'import sys' 2>/dev/null); then
- cd swig/python
- rm -rf build
- python3 setup.py build
- python3 setup.py install --root=$PKG --prefix=/usr
- cd - >/dev/null
-fi
+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
@@ -163,7 +161,7 @@ make -f GNUmakefile -B docs
# --docdir is ignored :-(
make install-docs DESTDIR=$PKG INST_DOCS=/usr/doc/$PRGNAM-$VERSION
cp -a \
- COMMITERS HOWTO-RELEASE LICENSE.TXT NEWS PROVENANCE.TXT VERSION \
+ COMMITTERS HOWTO-RELEASE LICENSE.TXT NEWS PROVENANCE.TXT VERSION \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/gis/gdal/gdal.info b/gis/gdal/gdal.info
index 0acaf326ff..36c3615f9c 100644
--- a/gis/gdal/gdal.info
+++ b/gis/gdal/gdal.info
@@ -1,10 +1,10 @@
PRGNAM="gdal"
-VERSION="2.2.4"
+VERSION="3.0.2"
HOMEPAGE="https://www.gdal.org/"
-DOWNLOAD="https://download.osgeo.org/gdal/2.2.4/gdal-2.2.4.tar.xz"
-MD5SUM="51b1df61dbdf81473689fab3075e7a5e"
+DOWNLOAD="https://download.osgeo.org/gdal/3.0.2/gdal-3.0.2.tar.xz"
+MD5SUM="0353d7e56efc79fcaaeb21d808cb9cac"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="geos proj"
+REQUIRES="geos proj python3"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"