wok-6.x view osm2pgrouting/receipt @ rev 22342
firefox-official: update deps (thanks rerivero)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 17 10:41:13 2019 +0100 (2019-11-17) |
parents | 4a1336eda4f9 |
children | 3fe0ed7c1aac |
line source
1 # SliTaz package receipt.
3 PACKAGE="osm2pgrouting"
4 VERSION="2.3.6"
5 CATEGORY="misc"
6 SHORT_DESC="Import tool for OpenStreetMap data to pgRouting database."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/pgRouting/osm2pgrouting"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="expat gcc49-lib-base libboost-program-options libpostgresqlclient"
15 BUILD_DEPENDS="cmake expat-dev gcc49 libpqxx libboost-program-options-dev \
16 pgrouting postgis postgresql-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 export CXX=g++-49
23 cmake -DCMAKE_INSTALL_PREFIX=/usr -H. -Bbuild
24 cd build/
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $fs
33 }