wok-current view pgrouting/receipt @ rev 16725
Add pgrouting
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 02 20:24:20 2014 +0000 (2014-06-02) |
parents | |
children | 9689f1b75619 |
line source
1 # SliTaz package receipt.
3 PACKAGE="pgrouting"
4 VERSION="2.0.0"
5 CATEGORY="misc"
6 SHORT_DESC="provide geospatial routing for PostGIS / PostgreSQL."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pgrouting.org/"
11 WGET_URL="https://codeload.github.com/pgRouting/pgrouting/tar.gz/v$VERSION"
13 DEPENDS="gcc-lib-base cgal gmp libboost_thread libboost_system"
14 BUILD_DEPENDS="wget cmake postgresql-dev libboost-dev cgal-dev gmp-dev \
15 mpfr-dev libboost-graph-dev libboost-thread-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir build
21 cd build
22 cmake -DWITH_DD=ON ..
23 make
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $install/usr/* $fs/usr
32 }