diff options
author | Bjoern Schilberg <bjoern.schilberg@intevation.de> | 2016-09-07 23:15:20 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-10-19 14:59:26 +0000 |
commit | f83d03c45d49e85540d0bd59556d34bf6b0600b2 (patch) | |
tree | bbd14218756c0edcfd5890681d4ff9e9b1e35755 /testing/postgis/APKBUILD | |
parent | da6f1a4f6193095972a27f14d039aa9c9e8e9d6c (diff) | |
download | aports-f83d03c45d49e85540d0bd59556d34bf6b0600b2.tar.bz2 aports-f83d03c45d49e85540d0bd59556d34bf6b0600b2.tar.xz |
testing/postgis: new aport
http://postgis.net/
PostGIS is a spatial database extender for PostgreSQL object-relational database.
Diffstat (limited to 'testing/postgis/APKBUILD')
-rw-r--r-- | testing/postgis/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/postgis/APKBUILD b/testing/postgis/APKBUILD new file mode 100644 index 0000000000..29c02d3774 --- /dev/null +++ b/testing/postgis/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bjoern Schilberg <bjoern@intevation.de> +# Maintainer: Bjoern Schilberg <bjoern@intevation.de> +pkgname=postgis +pkgver=2.2.2 +pkgrel=1 +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="ed42ad50405520bc1210bd4d3a872617 postgis-2.2.2.tar.gz" +sha256sums="40232391f8f66a6dc740ebb26088e568c8ccb663666998616c71c3bdaeed4163 postgis-2.2.2.tar.gz" +sha512sums="c5ad97abe52b7ec67e52a06e05e694099eaf2daacb7dc73c85dce71a61c269c755ec401f1077a1760cfb930ccd42fb1d34ebfb79990f52f5bc3aafa9db2e9ce4 postgis-2.2.2.tar.gz" |