mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-04 18:45:52 +00:00
2d8712d25f
This commit has been automatically submitted by Github Actions.
18 lines
750 B
Bash
18 lines
750 B
Bash
TERMUX_PKG_HOMEPAGE=https://postgis.net
|
|
TERMUX_PKG_DESCRIPTION="Spatial database extender for PostgreSQL object-relational database"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="3.5.0"
|
|
TERMUX_PKG_SRCURL=https://download.osgeo.org/postgis/source/postgis-$TERMUX_PKG_VERSION.tar.gz
|
|
TERMUX_PKG_SHA256=ca698a22cc2b2b3467ac4e063b43a28413f3004ddd505bdccdd74c56a647f510
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="gdal, json-c, libc++, libgeos, libiconv, libprotobuf-c, libxml2, pcre2, postgresql, proj"
|
|
|
|
# both configure script and Makefile(s) look for files in current
|
|
# directory rather than srcdir, so need to build in source
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
|
|
termux_step_pre_configure() {
|
|
CXXFLAGS+=" -std=c++14"
|
|
}
|