wok-6.x diff osm2pgrouting/receipt @ rev 20829

dietlibc: bz2 replaced by xz
author Hans-G?nter Theisgen
date Tue Feb 19 17:20:08 2019 +0100 (2019-02-19)
parents
children e65a1f719192
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/osm2pgrouting/receipt	Tue Feb 19 17:20:08 2019 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="osm2pgrouting"
     1.7 +VERSION="2.3.3"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Import tool for OpenStreetMap data to pgRouting database"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/pgRouting/osm2pgrouting"
    1.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="libpostgresqlclient libboost-program-options expat gcc49-lib-base"
    1.17 +BUILD_DEPENDS="postgresql-dev postgis pgrouting libboost-program-options-dev \
    1.18 +expat-dev libpqxx cmake gcc49"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	export CXX=/usr/bin/i486-slitaz-linux-g++-49
    1.24 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -H. -Bbuild
    1.25 +	cd build/
    1.26 +	make &&
    1.27 +	make DESTDIR=$DESTDIR install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $install/usr $fs
    1.34 +}