wok view pgrouting/receipt @ rev 20232

Up slitaz-boot-scripts (450), slitaz-configs (316)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 05 11:05:36 2018 +0100 (2018-03-05)
parents 2bd6324d64bf
children 9061651de4e1
line source
1 # SliTaz package receipt.
3 PACKAGE="pgrouting"
4 VERSION="2.4.1"
5 CATEGORY="misc"
6 SHORT_DESC="provide geospatial routing for PostGIS / PostgreSQL."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pgrouting.org/"
11 WGET_URL="https://codeload.github.com/pgRouting/pgrouting/tar.gz/v$VERSION"
13 DEPENDS="gcc-lib-base cgal gmp libboost-thread libboost-system \
14 boost-chrono boost-date-time"
15 BUILD_DEPENDS="wget cmake postgresql-dev libboost-dev cgal-dev gmp-dev \
16 mpfr-dev libboost-graph-dev libboost-thread-dev libboost-tr1-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 cd build
23 cmake -DWITH_DD=ON ..
24 make
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $install/usr/* $fs/usr
33 }