wok-6.x view osm2pgrouting/receipt @ rev 24092
Up get-pcem-roms (2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 18 13:15:53 2021 +0000 (2021-07-18) |
parents | 3fe0ed7c1aac |
children | 87964cbbcd16 |
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 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++-83
29 cmake -DCMAKE_INSTALL_PREFIX=/usr -H. -Bbuild
30 cd build/
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 }