New package: postgis-postgresql14-3.1.4

This commit is contained in:
Piotr Wójcik 2021-09-30 22:28:48 +02:00 committed by Piotr
parent 077f8b4a9a
commit c69c998341
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
# Template file for 'postgis-postgresql14'
pkgname=postgis-postgresql14
version=3.1.4
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 postgresql-libs-devel which"
makedepends="geos-devel libgdal-devel libpqxx-devel libxml2-devel postgresql-libs-devel
proj-devel protobuf-c-devel pcre-devel json-c-devel"
checkdepends="libxslt CUnit-devel"
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=dc8e3fe8bc532e422f5d724c5a7c437f6555511716f6410d4d2db9762e1a3796
nocross="FIXME: Cannot run test program to determine PROJ version"
pre_configure() {
./autogen.sh
}
pre_check() {
# regression tests require running postgresql
vsed -i regress/run_test.pl -e '/\/usr\/bin\/env/ a exit;'
}

View file

@ -0,0 +1,2 @@
pkgname=postgis
ignore="*alpha*"