# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0: #Packager: JRD pkgname=geos pkgver=3.3.0 pkgrel=1cp #arch=noarch source=(http://download.osgeo.org/${pkgname}/${pkgname}-${pkgver}.tar.bz2) sourcetemplate=http://enialis.net/~jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/ docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://trac.osgeo.org/geos/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Geometry Engine)" "GEOS is a C++ port of the Java Topology Suite (JTS)." "As such, it aims to contain the complete functionality of JTS in C++." "This includes all the OpenGIS Simple Features for SQL spatial" "predicate functions and spatial operators, as well as specific JTS" "enhanced topology functions." ) build() { cd $startdir/src/$pkgname-$pkgver || return 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux --enable-python || return 1 make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 }