1 # Maintainer: Dominik Fuchs <dominik.fuchs (at) wur.nl>
6 pkgdesc="Adds support for geographic objects to PostgreSQL; including the experimental PostGis RASTER type."
8 url="http://trac.osgeo.org/postgis/"
10 depends=('postgresql>=8.4.1' 'gdal')
11 options=('!makeflags')
16 _svntrunk=http://svn.osgeo.org/postgis/trunk
24 msg "Downloading Postgis: connecting to svn.osgeo.org..."
25 if [ -d $_svnmod/.svn ]; then
26 (cd $_svnmod && svn up -r $pkgver)
28 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
30 msg "SVN checkout done or server timeout"
31 msg "Starting make..."
33 rm -rf "$srcdir/$_svnmod-build"
34 cp -r $_svnmod $_svnmod-build
38 sed 's:$(PGSQL_BINDIR):$(DESTDIR)/$(PGSQL_BINDIR):g' -i ${srcdir}/trunk-build/raster/scripts/python/Makefile.in
41 LDFLAGS=-lstdc++ ./configure --with-raster
43 make DESTDIR=${pkgdir} install