24 lines
910 B
Bash
24 lines
910 B
Bash
|
# 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"
|
||
|
|
||
|
pre_configure() {
|
||
|
./autogen.sh
|
||
|
}
|