wok-6.x annotate pgrouting/receipt @ rev 19906
Up pgrouting (2.4.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 10 16:50:02 2017 +0200 (2017-04-10) |
parents | 574ea3ad4ad8 |
children | 8570053d906b |
rev | line source |
---|---|
pascal@16725 | 1 # SliTaz package receipt. |
pascal@16725 | 2 |
pascal@16725 | 3 PACKAGE="pgrouting" |
pascal@19906 | 4 VERSION="2.4.1" |
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 } |