27 lines
1.0 KiB
Bash
27 lines
1.0 KiB
Bash
# Template file for 'postgis'
|
|
pkgname=postgis
|
|
version=3.0.1
|
|
revision=1
|
|
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
|
|
--with-geosconfig=${XBPS_CROSS_BASE}/usr/bin/geos-config"
|
|
hostmakedepends="automake libtool perl which pkg-config geos libgdal-tools
|
|
postgresql9.6-libs-devel"
|
|
makedepends="geos-devel libgdal-devel libpqxx-devel libxml2-devel postgresql9.6-libs-devel
|
|
proj-devel protobuf-c-devel pcre-devel json-c-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=5a5432f95150d9bae9215c6d1c7bb354e060482a7c379daa9b8384e1d03e6353
|
|
nocross="FIXME: Cannot run test program to determine PROJ version"
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|