aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorHolger Jaekel <holger.jaekel@gmx.de>2019-12-14 21:39:37 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-15 08:50:13 +0100
commite2812acb362c9219b1fcfa4442280174d538b9f9 (patch)
tree3a1e1dbee5fa2c62e2935c743b7ba7033924a2dd /community
parentfdaa8e5658780155e7dfb20f8e74247e20621187 (diff)
downloadaports-e2812acb362c9219b1fcfa4442280174d538b9f9.tar.bz2
aports-e2812acb362c9219b1fcfa4442280174d538b9f9.tar.xz
community/postgis: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/postgis/APKBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/postgis/APKBUILD b/community/postgis/APKBUILD
new file mode 100644
index 0000000000..1aaf75e0a1
--- /dev/null
+++ b/community/postgis/APKBUILD
@@ -0,0 +1,29 @@
+# Contributor: Bjoern Schilberg <bjoern@intevation.de>
+# Maintainer: Bjoern Schilberg <bjoern@intevation.de>
+pkgname=postgis
+pkgver=3.0.0
+pkgrel=1
+pkgdesc="PostGIS is a spatial database extender for PostgreSQL object-relational database."
+url="https://postgis.net/"
+arch="all !x86 !armhf !armv7 !s390x" # missing proj-dev on these arch's
+license="GPL-2.0-or-later"
+depends="postgresql perl"
+makedepends="postgresql-dev geos-dev gdal-dev libxml2-dev proj-dev perl-dev
+ json-c-dev pcre-dev protobuf-c-dev"
+subpackages="$pkgname-doc"
+source="http://download.osgeo.org/postgis/source/postgis-$pkgver.tar.gz"
+options="!check" # tests depends on a running PostgreSQL server
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr
+ make -j1
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="82c233681fa6444686f9979768e5d6d3a9b6ca9cbd4fc2b14bd0a5d1269a8d0f45ee067e64984077063407c7abc13fa0e37a29928d7ccbfe3a61b694f592bed2 postgis-3.0.0.tar.gz"