24 lines
903 B
Bash
24 lines
903 B
Bash
# Template file for 'postgis'
|
|
pkgname=postgis
|
|
version=2.5.0
|
|
revision=2
|
|
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="Spatial database extender for PostgreSQL"
|
|
maintainer="Orphaned <orphan@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://postgis.net/"
|
|
distfiles="https://download.osgeo.org/postgis/source/postgis-${version}.tar.gz"
|
|
checksum=be73abd747e9665f29748e0e7dc6b3f7b1ce98f32e3567f08259420ca10e36d5
|
|
nocross="FIXME: Cannot run test program to determine PROJ version"
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|