wok annotate pgrouting/receipt @ rev 18497

libfm: define tar.xz for xarchiver
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Oct 11 13:59:02 2015 +0200 (2015-10-11)
parents 9ebf504c7668
children 574ea3ad4ad8
rev   line source
pascal@16725 1 # SliTaz package receipt.
pascal@16725 2
pascal@16725 3 PACKAGE="pgrouting"
pascal@16725 4 VERSION="2.0.0"
pascal@16725 5 CATEGORY="misc"
pascal@16725 6 SHORT_DESC="provide geospatial routing for PostGIS / PostgreSQL."
pascal@16725 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16725 8 LICENSE="GPL2"
pascal@16725 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@16725 10 WEB_SITE="http://pgrouting.org/"
pascal@16725 11 WGET_URL="https://codeload.github.com/pgRouting/pgrouting/tar.gz/v$VERSION"
pascal@16725 12
pascal@17482 13 DEPENDS="gcc-lib-base cgal gmp libboost-thread libboost-system"
pascal@16725 14 BUILD_DEPENDS="wget cmake postgresql-dev libboost-dev cgal-dev gmp-dev \
pascal@16725 15 mpfr-dev libboost-graph-dev libboost-thread-dev"
pascal@16725 16
pascal@16725 17 # Rules to configure and make the package.
pascal@16725 18 compile_rules()
pascal@16725 19 {
pascal@16725 20 mkdir build
pascal@16725 21 cd build
pascal@16725 22 cmake -DWITH_DD=ON ..
pascal@16725 23 make
pascal@16725 24 make install
pascal@16725 25 }
pascal@16725 26
pascal@16725 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16725 28 genpkg_rules()
pascal@16725 29 {
pascal@16725 30 mkdir -p $fs/usr
pascal@16725 31 cp -a $install/usr/* $fs/usr
pascal@16725 32 }