1 # Contributor: Andre Klitzing <andre () incubo () de>
6 pkgdesc="Adds routing functionality to PostGIS/PostgreSQL"
8 url="http://pgrouting.postlbs.org"
10 depends=('postgis' 'gcc-libs')
11 makedepends=('cmake>=2.3' 'boost>=1.47')
12 source=(http://download.osgeo.org/pgrouting/source/$pkgname-$pkgver.tar.gz includes.patch)
13 sha1sums=('582b37eebf86416ca8936e2f3992b5319abc5325'
14 '049492db858eb61aaba8e0f513180bb783f4db17')
17 cd $srcdir/$pkgname-$pkgver
18 mv cmake/CMakeList.txt cmake/CMakeLists.txt
19 patch -p0 -i $srcdir/includes.patch || return 1
20 # TSP needs package GAUL and DD needs CGAL
21 #cmake . -DWITH_TSP=ON -DWITH_DD=ON
24 make DESTDIR=$pkgdir install || return 1