void-packages/srcpkgs/postgis-postgresql12/template
2021-06-28 21:12:38 +02:00

31 lines
1.2 KiB
Bash

# Template file for 'postgis-postgresql12'
pkgname=postgis-postgresql12
version=3.1.2
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 postgresql12-libs-devel which"
makedepends="geos-devel libgdal-devel libpqxx-devel libxml2-devel postgresql12-libs-devel
proj-devel protobuf-c-devel pcre-devel json-c-devel"
checkdepends="libxslt"
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"
checksum=2cdd3760176926704b4eb25ff3357543c9637dee74425a49082906857c7e0732
nocross="FIXME: Cannot run test program to determine PROJ version"
# unit tests require unpackaged cunit
# regression tests require running postgresql
make_check=no
pre_configure() {
./autogen.sh
}