2020-07-06 19:25:01 +00:00
|
|
|
# Template file for 'postgis-postgresql12'
|
|
|
|
pkgname=postgis-postgresql12
|
2020-08-20 12:49:41 +00:00
|
|
|
version=3.0.2
|
2020-07-06 19:25:01 +00:00
|
|
|
revision=1
|
|
|
|
wrksrc="postgis-${version}"
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="
|
|
|
|
--with-projdir=${XBPS_CROSS_BASE}/usr
|
|
|
|
--with-jsondir=${XBPS_CROSS_BASE}/usr
|
|
|
|
--with-protobufdir=${XBPS_CROSS_BASE}/usr
|
|
|
|
--with-geosconfig=${XBPS_CROSS_BASE}/usr/bin/geos-config"
|
|
|
|
hostmakedepends="automake libtool perl pkg-config geos
|
|
|
|
libgdal-tools postgresql-libs-devel which"
|
|
|
|
makedepends="geos-devel libgdal-devel libpqxx-devel libxml2-devel postgresql-libs-devel
|
|
|
|
proj-devel protobuf-c-devel pcre-devel json-c-devel"
|
|
|
|
short_desc="Spatial database extender for PostgreSQL"
|
|
|
|
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
|
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
homepage="https://postgis.net/"
|
|
|
|
changelog="https://git.osgeo.org/gitea/postgis/postgis/raw/tag/${version}/NEWS"
|
|
|
|
distfiles="https://download.osgeo.org/postgis/source/postgis-${version}.tar.gz"
|
2020-08-20 12:49:41 +00:00
|
|
|
checksum=a3a1641dfd73c83924088a185bdb8b35567b3d1dc8d0887f9e4b492e228ab2ca
|
2020-07-06 19:25:01 +00:00
|
|
|
nocross="FIXME: Cannot run test program to determine PROJ version"
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|