mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-30 05:39:56 +02:00
gis/gdal: Updated for version 2.2.0.
Thanks to Ben Trigona-Harany :) Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
parent
bd673e29e9
commit
ed4e476ca5
3 changed files with 9 additions and 12 deletions
|
@ -9,7 +9,9 @@ The related OGR library (which is part of the GDAL source tree)
|
|||
provides a similar capability for simple features vector data.
|
||||
|
||||
The following optional requirements are detected automatically:
|
||||
cfitsio, freexl, hdf, hdf5, libwebp, netcdf, postgresql, xerces-c
|
||||
|
||||
cfitsio, freexl, hdf, hdf5, libkml, libwebp, netcdf,
|
||||
postgresql, xerces-c
|
||||
|
||||
To enable OpenCL GPU-accelerated performance, specify the option
|
||||
OPENCL=yes (requires opencl-headers to build, and either nvidia-driver
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="gdal"
|
||||
VERSION="2.1.3"
|
||||
VERSION="2.2.0"
|
||||
HOMEPAGE="http://www.gdal.org/"
|
||||
DOWNLOAD="http://download.osgeo.org/gdal/2.1.3/gdal-2.1.3.tar.xz"
|
||||
MD5SUM="66f36c08b7ec6d31bda99083f179d183"
|
||||
DOWNLOAD="http://download.osgeo.org/gdal/2.2.0/gdal-2.2.0.tar.xz"
|
||||
MD5SUM="9bb6eb25fb746045ee309c4f883cbf94"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="geos proj"
|
||||
|
|
Loading…
Reference in a new issue