wok annotate osm2pgrouting/receipt @ rev 21153
Up libboost-wave, libboost-tr1-dev, libboost-signals (1.69.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 30 15:08:35 2019 +0100 (2019-03-30) |
parents | |
children | e65a1f719192 |
rev | line source |
---|---|
pascal@20216 | 1 # SliTaz package receipt. |
pascal@20216 | 2 |
pascal@20216 | 3 PACKAGE="osm2pgrouting" |
pascal@20216 | 4 VERSION="2.3.3" |
pascal@20216 | 5 CATEGORY="misc" |
pascal@20216 | 6 SHORT_DESC="Import tool for OpenStreetMap data to pgRouting database" |
pascal@20216 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20216 | 8 LICENSE="GPL2" |
pascal@20216 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20216 | 10 WEB_SITE="https://github.com/pgRouting/osm2pgrouting" |
pascal@20216 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@20216 | 12 |
pascal@20216 | 13 DEPENDS="libpostgresqlclient libboost-program-options expat gcc49-lib-base" |
pascal@20216 | 14 BUILD_DEPENDS="postgresql-dev postgis pgrouting libboost-program-options-dev \ |
pascal@20216 | 15 expat-dev libpqxx cmake gcc49" |
pascal@20216 | 16 |
pascal@20216 | 17 # Rules to configure and make the package. |
pascal@20216 | 18 compile_rules() |
pascal@20216 | 19 { |
pascal@20216 | 20 export CXX=/usr/bin/i486-slitaz-linux-g++-49 |
pascal@20216 | 21 cmake -DCMAKE_INSTALL_PREFIX=/usr -H. -Bbuild |
pascal@20216 | 22 cd build/ |
pascal@20216 | 23 make && |
pascal@20216 | 24 make DESTDIR=$DESTDIR install |
pascal@20216 | 25 } |
pascal@20216 | 26 |
pascal@20216 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20216 | 28 genpkg_rules() |
pascal@20216 | 29 { |
pascal@20216 | 30 cp -a $install/usr $fs |
pascal@20216 | 31 } |