2018-04-02 21:43:29 +02:00
|
|
|
# Template file for 'postgis'
|
|
|
|
pkgname=postgis
|
|
|
|
version=2.4.4
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--with-projdir=${XBPS_CROSS_BASE}/usr
|
|
|
|
--with-projdir=${XBPS_CROSS_BASE}/usr
|
|
|
|
--with-jsondir=${XBPS_CROSS_BASE}/usr
|
|
|
|
--with-protobufdir=${XBPS_CROSS_BASE}/usr"
|
|
|
|
hostmakedepends="automake libtool perl pkg-config geos libgdal-tools postgresql-libs-devel"
|
|
|
|
makedepends="geos-devel postgresql-libs-devel libgdal-devel libpqxx-devel
|
|
|
|
libxml2-devel proj-devel protobuf-c-devel json-c"
|
|
|
|
short_desc="A spatial database extender for PostgreSQL"
|
|
|
|
maintainer="Árni Dagur <arnidg00@gmail.com>"
|
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
homepage="https://postgis.net/"
|
|
|
|
distfiles="https://download.osgeo.org/postgis/source/postgis-${version}.tar.gz"
|
|
|
|
checksum=0663efb589210d5048d95c817e5cf29552ec8180e16d4c6ef56c94255faca8c2
|
|
|
|
nocross="FIXME: Cannot run test program to determine PROJ version"
|
2018-04-23 08:53:49 +02:00
|
|
|
disable_parallel_build=yes
|
2018-04-02 21:43:29 +02:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|