Commit e7a3e161 authored by Jakub Jirutka's avatar Jakub Jirutka

testing/postgis: upgrade to 2.4.1

parent d0622049
# Contributor: Bjoern Schilberg <bjoern@intevation.de>
# Maintainer: Bjoern Schilberg <bjoern@intevation.de>
pkgname=postgis
pkgver=2.3.3
pkgver=2.4.1
pkgrel=0
pkgdesc="PostGIS is a spatial database extender for PostgreSQL object-relational database."
url="http://postgis.net"
......@@ -10,23 +10,20 @@ 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
./configure --prefix=/usr
make -j1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
chmod -x "$pkgdir"/usr/include/*.h
}
sha512sums="c0ec4b4b5c470e5f88d1bb72c528269a0cf954981385580db3333502c2da74e431b5a86e3d6427c839c3d4440122be18a69261c8205aa71c8aa4b790550c5e9c postgis-2.3.3.tar.gz"
sha512sums="a0baff97f15a02dfd466c38923a8fad81375fa06423c51ccaf6fb97a824a4010b12f152afd3f82ce9089983816b918d67c25de8fdabca27da71fb64309d01fc8 postgis-2.4.1.tar.gz"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment