# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0: #Packager: JRD pkgname=postgis pkgver=1.5.3 pkgrel=1cp #arch=i486 source=(http://postgis.refractions.net/download/${pkgname}-${pkgver}.tar.gz) sourcetemplate=http://enialis.net/~jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/ docs=("copying" "changelog" "authors.svn" "CREDITS" "TODO" "news" "README.postgis") url=http://postgis.refractions.net/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (spatial objects for PostgreSQL)" "PostGIS adds support for geographic objects to the PostgreSQL" "object-relational database. In effect, PostGIS “spatially enables”" "the PostgreSQL server, allowing it to be used as a backend spatial" "database for geographic information systems (GIS), much like ESRI's" "SDE or Oracle's Spatial extension. PostGIS follows the OpenGIS" "“Simple Features Specification for SQL” and has been certified as" "compliant with the “Types and Functions” profile." ) build() { cd $startdir/src/$pkgname-$pkgver || return 1 rm -f {postgis,topology,loader}/TODO ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 }