diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2019-11-10 10:26:05 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-11-23 16:01:55 +0700 |
commit | bf0ca5f9fdfca69ca07109d0fd6a1c62df3b258f (patch) | |
tree | f338fb4fd07be59843152b9c281086bbefc61143 /gis/gdal/gdal.SlackBuild | |
parent | d9a3a2081b7d5be1a8c415c4f628dc9a373fbc53 (diff) |
gis/gdal: Updated for version 3.0.2.
Diffstat (limited to 'gis/gdal/gdal.SlackBuild')
-rw-r--r-- | gis/gdal/gdal.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/gis/gdal/gdal.SlackBuild b/gis/gdal/gdal.SlackBuild index 2973ebf43cae..420ad8de910d 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 |