wok rev 20216

Add osm2pgrouting & libpqxx
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 24 22:10:29 2018 +0100 (2018-02-24)
parents a5dd38784e31
children 820017984ab4
files libpqxx/receipt osm2pgrouting/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libpqxx/receipt	Sat Feb 24 22:10:29 2018 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libpqxx"
     1.7 +VERSION="6.1.0"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="The official C++ client API for PostgreSQL"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="BSD"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://pqxx.org/development/libpqxx/"
    1.14 +WGET_URL="https://github.com/jtv/libpqxx/archive/$VERSION.tar.gz"
    1.15 +
    1.16 +BUILD_DEPENDS="gcc49 postgresql-dev"
    1.17 +DEPENDS="pkg-config"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	./configure CC=gcc-49 CXX=g++-49 --prefix=/usr \
    1.23 +		--disable-documentation \
    1.24 +		$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$DESTDIR install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/usr $fs
    1.33 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/osm2pgrouting/receipt	Sat Feb 24 22:10:29 2018 +0100
     2.3 @@ -0,0 +1,31 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="osm2pgrouting"
     2.7 +VERSION="2.3.3"
     2.8 +CATEGORY="misc"
     2.9 +SHORT_DESC="Import tool for OpenStreetMap data to pgRouting database"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="https://github.com/pgRouting/osm2pgrouting"
    2.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    2.15 +
    2.16 +DEPENDS="libpostgresqlclient libboost-program-options expat gcc49-lib-base"
    2.17 +BUILD_DEPENDS="postgresql-dev postgis pgrouting libboost-program-options-dev \
    2.18 +expat-dev libpqxx cmake gcc49"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	export CXX=/usr/bin/i486-slitaz-linux-g++-49
    2.24 +	cmake -DCMAKE_INSTALL_PREFIX=/usr -H. -Bbuild
    2.25 +	cd build/
    2.26 +	make &&
    2.27 +	make DESTDIR=$DESTDIR install
    2.28 +}
    2.29 +
    2.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.31 +genpkg_rules()
    2.32 +{
    2.33 +	cp -a $install/usr $fs
    2.34 +}