wok annotate osm2pgrouting/receipt @ rev 24508
updated ed (1.15 -> 1.18)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 20 17:14:34 2022 +0100 (2022-02-20) |
parents | 5ea0ce1cecc0 |
children | 7364ffdaaa60 |
rev | line source |
---|---|
pascal@20216 | 1 # SliTaz package receipt. |
pascal@20216 | 2 |
pascal@20216 | 3 PACKAGE="osm2pgrouting" |
Hans-G?nter@24168 | 4 VERSION="2.3.8" |
pascal@20216 | 5 CATEGORY="misc" |
Hans-G?nter@21647 | 6 SHORT_DESC="Import tool for OpenStreetMap data to pgRouting database." |
pascal@20216 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20216 | 8 LICENSE="GPL2" |
Hans-G?nter@21647 | 9 WEB_SITE="https://github.com/pgRouting/osm2pgrouting" |
Hans-G?nter@21647 | 10 |
pascal@20216 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20216 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@20216 | 13 |
Hans-G?nter@24168 | 14 DEPENDS="expat gcc49-lib-base libboost-program-options libpostgresqlclient" |
Hans-G?nter@24168 | 15 BUILD_DEPENDS="cmake expat-dev gcc49 libboost-program-options-dev |
Hans-G?nter@24168 | 16 libpqxx pgrouting postgis postgresql-dev" |
pascal@20216 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@20216 | 24 # Rules to configure and make the package. |
pascal@20216 | 25 compile_rules() |
pascal@20216 | 26 { |
Hans-G?nter@24168 | 27 export CXX=g++-49 # is essential |
Hans-G?nter@21647 | 28 |
Hans-G?nter@24168 | 29 mkdir _build |
Hans-G?nter@24168 | 30 cd _build |
Hans-G?nter@24168 | 31 cmake .. \ |
Hans-G?nter@24168 | 32 -D CMAKE_INSTALL_PREFIX=/usr && |
pascal@20216 | 33 make && |
pascal@20216 | 34 make DESTDIR=$DESTDIR install |
pascal@20216 | 35 } |
pascal@20216 | 36 |
pascal@20216 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20216 | 38 genpkg_rules() |
pascal@20216 | 39 { |
pascal@20216 | 40 cp -a $install/usr $fs |
pascal@20216 | 41 } |