wok view osm2pgrouting/receipt @ rev 20352
pinentry: try with newer gcc and specify build
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 13:10:46 2018 +0000 (2018-06-09) |
parents | |
children | e65a1f719192 |
line source
1 # SliTaz package receipt.
3 PACKAGE="osm2pgrouting"
4 VERSION="2.3.3"
5 CATEGORY="misc"
6 SHORT_DESC="Import tool for OpenStreetMap data to pgRouting database"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/pgRouting/osm2pgrouting"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="libpostgresqlclient libboost-program-options expat gcc49-lib-base"
14 BUILD_DEPENDS="postgresql-dev postgis pgrouting libboost-program-options-dev \
15 expat-dev libpqxx cmake gcc49"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CXX=/usr/bin/i486-slitaz-linux-g++-49
21 cmake -DCMAKE_INSTALL_PREFIX=/usr -H. -Bbuild
22 cd build/
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }