wok rev 16725
Add pgrouting
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 02 20:24:20 2014 +0000 (2014-06-02) |
parents | afd6aab736f6 |
children | 1cfc9d2d0016 |
files | pgrouting/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/pgrouting/receipt Mon Jun 02 20:24:20 2014 +0000 1.3 @@ -0,0 +1,32 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="pgrouting" 1.7 +VERSION="2.0.0" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="provide geospatial routing for PostGIS / PostgreSQL." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="GPL2" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://pgrouting.org/" 1.14 +WGET_URL="https://codeload.github.com/pgRouting/pgrouting/tar.gz/v$VERSION" 1.15 + 1.16 +DEPENDS="gcc-lib-base cgal gmp libboost_thread libboost_system" 1.17 +BUILD_DEPENDS="wget cmake postgresql-dev libboost-dev cgal-dev gmp-dev \ 1.18 +mpfr-dev libboost-graph-dev libboost-thread-dev" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + mkdir build 1.24 + cd build 1.25 + cmake -DWITH_DD=ON .. 1.26 + make 1.27 + make install 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr 1.34 + cp -a $install/usr/* $fs/usr 1.35 +}