wok-next annotate pgrouting/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | a244e109372e |
children |
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" |
al@21020 | 6 SHORT_DESC="Geospatial routing for PostGIS / PostgreSQL" |
pascal@16725 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16725 | 8 LICENSE="GPL2" |
al@21020 | 9 WEB_SITE="https://pgrouting.org/" |
al@21020 | 10 |
pascal@16725 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16725 | 12 WGET_URL="https://codeload.github.com/pgRouting/pgrouting/tar.gz/v$VERSION" |
pascal@16725 | 13 |
al@21020 | 14 BUILD_DEPENDS="cmake postgresql-dev boost-dev cgal-dev gmp-dev mpfr-dev \ |
al@21020 | 15 boost-graph boost-thread" |
pascal@16725 | 16 |
al@21020 | 17 compile_rules() { |
pascal@16725 | 18 mkdir build |
al@21020 | 19 cd build |
al@21020 | 20 cmake \ |
al@21020 | 21 -DWITH_DD=ON \ |
al@21020 | 22 .. && |
al@21020 | 23 make && |
pascal@16725 | 24 make install |
pascal@16725 | 25 } |
pascal@16725 | 26 |
al@21020 | 27 genpkg_rules() { |
pascal@16725 | 28 mkdir -p $fs/usr |
pascal@16725 | 29 cp -a $install/usr/* $fs/usr |
al@21020 | 30 DEPENDS="gcc-lib-base cgal gmp boost-thread boost-system" |
pascal@16725 | 31 } |