wok annotate cgal/receipt @ rev 18934
Up slitaz-configs (273)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 27 07:57:39 2016 +0100 (2016-02-27) |
parents | |
children | 82133530f0c4 |
rev | line source |
---|---|
pascal@16724 | 1 # SliTaz package receipt. |
pascal@16724 | 2 |
pascal@16724 | 3 PACKAGE="cgal" |
pascal@16724 | 4 SOURCE="CGAL" |
pascal@16724 | 5 VERSION="4.4" |
pascal@16724 | 6 CATEGORY="misc" |
pascal@16724 | 7 SHORT_DESC="Computational Geometry Algorithms Library." |
pascal@16724 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16724 | 9 LICENSE="GPL3 LGPL3" |
pascal@16724 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
pascal@16724 | 11 WEB_SITE="https://www.cgal.org/" |
pascal@16724 | 12 WGET_URL="https://gforge.inria.fr/frs/download.php/file/33526/$TARBALL" |
pascal@16724 | 13 |
pascal@16724 | 14 DEPENDS="libboost-thread libboost-system gcc-lib-base" |
pascal@16724 | 15 BUILD_DEPENDS="wget cmake libboost-dev gmp-dev mpfr-dev libboost-thread-dev" |
pascal@16724 | 16 |
pascal@16724 | 17 # Rules to configure and make the package. |
pascal@16724 | 18 compile_rules() |
pascal@16724 | 19 { |
pascal@16724 | 20 cmake -DCMAKE_INSTALL_PREFIX=/usr . |
pascal@16724 | 21 make |
pascal@16724 | 22 make install |
pascal@16724 | 23 } |
pascal@16724 | 24 |
pascal@16724 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16724 | 26 genpkg_rules() |
pascal@16724 | 27 { |
pascal@16724 | 28 mkdir -p $fs/usr/lib |
pascal@16724 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@16724 | 30 } |