wok-next diff pgrouting/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a244e109372e
children
line diff
     1.1 --- a/pgrouting/receipt	Tue Aug 21 00:41:54 2018 +0300
     1.2 +++ b/pgrouting/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,30 +3,29 @@
     1.4  PACKAGE="pgrouting"
     1.5  VERSION="2.0.0"
     1.6  CATEGORY="misc"
     1.7 -SHORT_DESC="provide geospatial routing for PostGIS / PostgreSQL."
     1.8 +SHORT_DESC="Geospatial routing for PostGIS / PostgreSQL"
     1.9  MAINTAINER="pascal.bellard@slitaz.org"
    1.10  LICENSE="GPL2"
    1.11 +WEB_SITE="https://pgrouting.org/"
    1.12 +
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="https://pgrouting.org/"
    1.15  WGET_URL="https://codeload.github.com/pgRouting/pgrouting/tar.gz/v$VERSION"
    1.16  
    1.17 -DEPENDS="gcc-lib-base cgal gmp boost-thread boost-system"
    1.18 -BUILD_DEPENDS="wget cmake postgresql-dev boost-dev cgal-dev gmp-dev \
    1.19 -mpfr-dev boost-graph boost-thread"
    1.20 +BUILD_DEPENDS="cmake postgresql-dev boost-dev cgal-dev gmp-dev mpfr-dev \
    1.21 +boost-graph boost-thread"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	mkdir build
    1.28 -	cd build
    1.29 -	cmake -DWITH_DD=ON ..
    1.30 -	make
    1.31 +	cd    build
    1.32 +	cmake \
    1.33 +		-DWITH_DD=ON \
    1.34 +		.. &&
    1.35 +	make &&
    1.36  	make install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 +genpkg_rules() {
    1.43  	mkdir -p $fs/usr
    1.44  	cp -a $install/usr/* $fs/usr
    1.45 +	DEPENDS="gcc-lib-base cgal gmp boost-thread boost-system"
    1.46  }