gis/gdal: Updated for version 3.5.1.
- disable build testing by default - add flag to build testing components and run make test Signed-off-by: ArTourter <artourter@gmail.com> Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
3e8057147f
commit
0d02208903
|
@ -19,3 +19,7 @@ suitable GPU hardware to run).
|
|||
|
||||
To build JAVA bindings, specify JAVA=yes (it requires a java JDK and
|
||||
ant).
|
||||
|
||||
By default, the script does not build nor run the tests. You can use the
|
||||
option TESTBUILD=YES to build and run the tests before the make install
|
||||
part.
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=gdal
|
||||
VERSION=${VERSION:-3.5.0}
|
||||
VERSION=${VERSION:-3.5.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -70,6 +70,10 @@ fi
|
|||
|
||||
set -e
|
||||
|
||||
if [[ ${TESTBUILD:='NO'} == 'NO' ]]; then
|
||||
TESTBUILDFLAGS='-DBUILD_TESTING=OFF'
|
||||
fi
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
|
@ -115,9 +119,11 @@ mkdir build
|
|||
-DGDAL_USE_GEOTIFF_INTERNAL=ON \
|
||||
-DGDAL_USE_TIFF_INTERNAL=ON \
|
||||
$WITHLIST \
|
||||
$TESTBUILDFLAGS \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
..
|
||||
make
|
||||
[[ $TESTBUILD == "YES" ]] && make test
|
||||
make install/strip DESTDIR=$PKG
|
||||
)
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="gdal"
|
||||
VERSION="3.5.0"
|
||||
VERSION="3.5.1"
|
||||
HOMEPAGE="https://www.gdal.org/"
|
||||
DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.5.0/gdal-3.5.0.tar.gz"
|
||||
MD5SUM="1df31a62405e33eacceddf53a81fc136"
|
||||
DOWNLOAD="https://github.com/OSGeo/gdal/releases/download/v3.5.1/gdal-3.5.1.tar.gz"
|
||||
MD5SUM="90ec67df8648e36795937c07406815ea"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="geos proj"
|
||||
|
|
Loading…
Reference in New Issue