wok annotate osm2pgrouting/receipt @ rev 21873
Up wpa_supplicant (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 27 15:06:17 2019 +0200 (2019-09-27) |
parents | 4a1336eda4f9 |
children | 3fe0ed7c1aac |
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 |
Hans-G?nter@21647 | 14 DEPENDS="expat gcc49-lib-base libboost-program-options libpostgresqlclient" |
Hans-G?nter@21647 | 15 BUILD_DEPENDS="cmake expat-dev gcc49 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 { |
Hans-G?nter@21647 | 21 export CXX=g++-49 |
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 } |