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