wok-next annotate pgrouting/receipt @ rev 20629
Up aalib, babl, exiv2, fontconfig, gnome-themes-standard, json-glib, mousepad
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 26 21:51:47 2018 +0300 (2018-04-26) |
parents | 9689f1b75619 |
children | a3c581bf52b8 |
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 \ |
al@19765 | 15 mpfr-dev libboost-graph libboost-thread" |
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 } |