wok-next view cgal/receipt @ rev 20915

libboost -> boost
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 21 00:41:54 2018 +0300 (2018-08-21)
parents d43bf7aae921
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cgal"
4 SOURCE="CGAL"
5 VERSION="4.11"
6 CATEGORY="misc"
7 SHORT_DESC="Computational Geometry Algorithms Library."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3 LGPL3"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://www.cgal.org/"
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="cgal cgal-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cmake -DCMAKE_INSTALL_PREFIX=/usr .
21 make
22 make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 cgal)
30 DEPENDS="boost-thread boost-system gcc-lib-base"
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 ;;
34 cgal-dev)
35 CAT="development|Computational Geometry Algorithms Library, development files."
36 DEPENDS="cgal"
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/include $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/CGAL $fs/usr/lib
41 ;;
42 esac
43 }