39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			39 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Contributor: Bjoern Schilberg <bjoern@intevation.de>
 | |
| # Maintainer: Bjoern Schilberg <bjoern@intevation.de>
 | |
| pkgname=postgis
 | |
| pkgver=2.5.1
 | |
| pkgrel=1
 | |
| pkgdesc="PostGIS is a spatial database extender for PostgreSQL object-relational database."
 | |
| url="https://postgis.net/"
 | |
| # geos test fails on other archs
 | |
| arch="x86 x86_64" # fails on x86*
 | |
| license="GPL-2.0-or-later"
 | |
| depends="postgresql perl"
 | |
| makedepends="postgresql-dev geos-dev gdal-dev libxml2-dev proj4-dev perl-dev
 | |
| 	json-c-dev pcre-dev"
 | |
| subpackages="$pkgname-dev $pkgname-doc"
 | |
| source="http://download.osgeo.org/postgis/source/$pkgname-$pkgver.tar.gz"
 | |
| options="!check" # tests depends on a running PostgreSQL server
 | |
| 
 | |
| build() {
 | |
| 	cd "$builddir"
 | |
| 
 | |
| 	./configure \
 | |
| 		--build=$CBUILD \
 | |
| 		--host=$CHOST \
 | |
| 		--prefix=/usr \
 | |
| 		--disable-gtktest \
 | |
| 		--disable-nls \
 | |
| 		--disable-rpath \
 | |
| 		--without-protobuf
 | |
| 	make -j1
 | |
| }
 | |
| 
 | |
| package() {
 | |
| 	cd "$builddir"
 | |
| 
 | |
| 	make DESTDIR="$pkgdir" install
 | |
| }
 | |
| 
 | |
| sha512sums="c6c9c8c5befd945614e92d1062df1d753ca8b7fd69b70226065c2dac77a59783b14ece4da994187079b683ee090ba5a79389ba679f22fce8c20a5afc2c8dfca0  postgis-2.5.1.tar.gz"
 |