wok annotate pgrouting/receipt @ rev 19243
tazlito: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 12:46:13 2016 +0200 (2016-06-28) |
parents | 9ebf504c7668 |
children | 574ea3ad4ad8 |
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@16725 | 15 mpfr-dev libboost-graph-dev libboost-thread-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 } |