wok-6.x annotate osm2pgrouting/receipt @ rev 23649
Up openvpn (2.4.9)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 20 13:31:36 2020 +0000 (2020-04-20) |
parents | e65a1f719192 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@20216 | 1 # SliTaz package receipt. |
pascal@20216 | 2 |
pascal@20216 | 3 PACKAGE="osm2pgrouting" |
Hans-G?nter@21647 | 4 VERSION="2.3.6" |
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 |
pascal@22396 | 14 DEPENDS="expat gcc83-lib-base libboost-program-options libpostgresqlclient" |
pascal@22396 | 15 BUILD_DEPENDS="cmake expat-dev gcc83 libpqxx libboost-program-options-dev \ |
Hans-G?nter@21647 | 16 pgrouting postgis postgresql-dev" |
pascal@20216 | 17 |
pascal@20216 | 18 # Rules to configure and make the package. |
pascal@20216 | 19 compile_rules() |
pascal@20216 | 20 { |
pascal@22396 | 21 export CXX=g++-83 |
Hans-G?nter@21647 | 22 |
pascal@20216 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr -H. -Bbuild |
pascal@20216 | 24 cd build/ |
pascal@20216 | 25 make && |
pascal@20216 | 26 make DESTDIR=$DESTDIR install |
pascal@20216 | 27 } |
pascal@20216 | 28 |
pascal@20216 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20216 | 30 genpkg_rules() |
pascal@20216 | 31 { |
pascal@20216 | 32 cp -a $install/usr $fs |
pascal@20216 | 33 } |