wok view osm2pgrouting/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (24 months ago)
parents 5ea0ce1cecc0
children 7364ffdaaa60
line source
1 # SliTaz package receipt.
3 PACKAGE="osm2pgrouting"
4 VERSION="2.3.8"
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 libboost-program-options-dev
16 libpqxx pgrouting postgis postgresql-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CXX=g++-49 # is essential
29 mkdir _build
30 cd _build
31 cmake .. \
32 -D CMAKE_INSTALL_PREFIX=/usr &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/usr $fs
41 }