X-Original-To: alpine-aports@lists.alpinelinux.org Received: from kolab.intevation.de (kolab.intevation.de [212.95.122.130]) by lists.alpinelinux.org (Postfix) with ESMTP id 3A3AD5C3204 for ; Wed, 7 Sep 2016 21:15:27 +0000 (GMT) Received: from localhost (localhost.localdomain [127.0.0.1]) by kolab.intevation.de (Postfix) with ESMTP id 9B2B394D166 for ; Wed, 7 Sep 2016 23:15:25 +0200 (CEST) X-Virus-Scanned: by amavisd-new at intevation.de Received: from localhost (localhost.localdomain [127.0.0.1]) by kolab.intevation.de (Postfix) with ESMTP id B604E94D167 for ; Wed, 7 Sep 2016 23:15:24 +0200 (CEST) Received: from intevation.de (x4db5817c.dyn.telefonica.de [77.181.129.124]) (Authenticated sender: bjoern.schilberg@intevation.de) by kolab.intevation.de (Postfix) with ESMTPSA id 6789794D166 for ; Wed, 7 Sep 2016 23:15:24 +0200 (CEST) Date: Wed, 7 Sep 2016 23:15:20 +0200 From: Bjoern Schilberg To: alpine-aports@lists.alpinelinux.org Subject: [alpine-aports] [PATCH] testing/postgis: new aport Message-ID: <20160907211456.uwelot7grcfds3bf@intevation.de> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/ (1.7.0) http://postgis.net/ PostGIS is a spatial database extender for PostgreSQL object-relational database. --- testing/postgis/APKBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 testing/postgis/APKBUILD diff --git a/testing/postgis/APKBUILD b/testing/postgis/APKBUILD new file mode 100644 index 0000000..29c02d3 --- /dev/null +++ b/testing/postgis/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bjoern Schilberg +# Maintainer: Bjoern Schilberg +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" -- 2.8.3 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---