2019-05-22 21:15:06 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://gdal.org
|
2017-11-29 20:50:54 +01:00
|
|
|
TERMUX_PKG_DESCRIPTION="A translator library for raster and vector geospatial data formats"
|
2019-05-22 21:33:36 +02:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2019-05-28 21:57:00 +02:00
|
|
|
TERMUX_PKG_LICENSE_FILE="LICENSE.TXT"
|
2021-02-16 21:58:04 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2022-01-20 15:19:10 +01:00
|
|
|
TERMUX_PKG_VERSION=3.4.1
|
2019-05-22 21:15:06 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://download.osgeo.org/gdal/${TERMUX_PKG_VERSION}/gdal-${TERMUX_PKG_VERSION}.tar.xz
|
2022-01-20 15:19:10 +01:00
|
|
|
TERMUX_PKG_SHA256=332f053516ca45101ef0f7fa96309b64242688a8024780a5d93be0230e42173d
|
2021-07-03 11:06:14 +02:00
|
|
|
TERMUX_PKG_DEPENDS="libc++, openjpeg, libcurl, libtiff, libpng, proj, libiconv, libsqlite, libgeos, libspatialite, libexpat, postgresql, netcdf-c"
|
2019-07-31 07:29:28 +02:00
|
|
|
TERMUX_PKG_BREAKS="gdal-dev"
|
|
|
|
TERMUX_PKG_REPLACES="gdal-dev"
|
2021-12-27 15:41:02 +01:00
|
|
|
TERMUX_PKG_GROUPS="science"
|
2019-08-13 15:10:55 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2021-02-18 22:09:18 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--with-sqlite3=$TERMUX_PREFIX
|
|
|
|
--with-spatialite=$TERMUX_PREFIX
|
2021-02-23 05:49:26 +01:00
|
|
|
--with-expat=$TERMUX_PREFIX
|
2021-02-18 22:09:18 +01:00
|
|
|
"
|
2022-01-02 08:44:57 +01:00
|
|
|
|
|
|
|
termux_step_pre_configure() {
|
|
|
|
LDFLAGS+=" $($CC -print-libgcc-file-name)"
|
|
|
|
}
|