wok-next view cgal/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 | d635206a5649 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cgal"
4 VERSION="4.11"
5 CATEGORY="misc"
6 SHORT_DESC="Computational Geometry Algorithms Library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3 LGPL3"
9 WEB_SITE="https://www.cgal.org/"
11 TARBALL="CGAL-$VERSION.tar.xz"
12 WGET_URL="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake boost-dev gmp-dev mpfr-dev boost-thread"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 cmake \
19 -DCMAKE_INSTALL_PREFIX=/usr \
20 . &&
21 make &&
22 make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 cgal)
28 copy @std
29 DEPENDS="boost-thread boost-system gcc-lib-base"
30 ;;
31 *-dev)
32 copy @dev
33 ;;
34 esac
35 }