diff options
-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" |