mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-01 10:31:50 +02:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
# Contributor: Bjoern Schilberg <bjoern@intevation.de>
|
|
# Maintainer: Bjoern Schilberg <bjoern@intevation.de>
|
|
pkgname=postgis
|
|
pkgver=2.3.1
|
|
pkgrel=0
|
|
pkgdesc="PostGIS is a spatial database extender for PostgreSQL object-relational database."
|
|
url="http://postgis.net"
|
|
arch="x86_64"
|
|
license="GPL2"
|
|
depends="postgresql geos gdal proj4 perl"
|
|
depends_dev="postgresql-dev geos-dev gdal-dev libxml2-dev proj4-dev perl-dev"
|
|
makedepends="$depends_dev"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="http://download.osgeo.org/postgis/source/$pkgname-$pkgver.tar.gz"
|
|
|
|
|
|
builddir="$srcdir/$pkgname-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure --prefix=/usr || return 1
|
|
make -j1 || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
chmod -x "$pkgdir"/usr/include/*.h
|
|
}
|
|
|
|
md5sums="29d78ebf4542af94ad518508a27d47af postgis-2.3.1.tar.gz"
|
|
sha256sums="4c8d6bda93cd4aa690e98b97d67334b55f37eb1df55df3c70a717433050ca275 postgis-2.3.1.tar.gz"
|
|
sha512sums="28a78bce7d03af5b523efe583c2746c5101b201a5dcb4f3e4a59354313b9e7b632e9c8cb1a1e1eaba684f6e1a7d5c2c585a09315e8d0e45870a504daaa42c5e9 postgis-2.3.1.tar.gz"
|