wok-6.x view osm2pgrouting/receipt @ rev 23351
Up slitaz-icons-paper (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 31 10:49:33 2020 +0200 (2020-03-31) |
parents | e65a1f719192 |
children | 5ea0ce1cecc0 |
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 gcc83-lib-base libboost-program-options libpostgresqlclient"
15 BUILD_DEPENDS="cmake expat-dev gcc83 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++-83
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 }