void-packages/srcpkgs/postgis/template
2019-05-12 12:38:42 +02:00

24 lines
1,001 B
Bash

# Template file for 'postgis'
pkgname=postgis
version=2.5.2
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 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="Orphaned <orphan@voidlinux.org>"
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"
checksum=b6cb286c5016029d984f8c440947bf9178da72e1f6f840ed639270e1c451db5e
nocross="FIXME: Cannot run test program to determine PROJ version"
pre_configure() {
./autogen.sh
}