New package: postgis-postgresql16-3.3.4

This commit is contained in:
Piotr Wójcik 2023-11-10 12:03:57 +01:00 committed by Chocimier
parent 66a9c70108
commit 76f27e878d
4 changed files with 41 additions and 7 deletions

View File

@ -1 +1 @@
postgis-postgresql15
postgis-postgresql16

View File

@ -30,9 +30,3 @@ pre_check() {
# regression tests require running postgresql
vsed -i regress/run_test.pl -e '/\/usr\/bin\/env/ a exit;'
}
postgis_package() {
build_style=meta
short_desc+=" (meta package)"
depends="${sourcepkg}"
}

View File

@ -0,0 +1,38 @@
# Template file for 'postgis-postgresql16'
pkgname=postgis-postgresql16
version=3.3.4
revision=1
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=9d41eaef70e811a4fe2f4a431d144c0c57ce17c2c1a3c938ddaf4e5a3813b0d8
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;'
}
postgis_package() {
build_style=meta
short_desc+=" (meta package)"
depends="${sourcepkg}"
}

View File

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