wok-6.x view cgal/receipt @ rev 21975
updated st (0.5 -> 0.8.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 11 14:31:25 2019 +0100 (2019-10-11) |
parents | afd6aab736f6 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cgal"
4 SOURCE="CGAL"
5 VERSION="4.9"
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 DEPENDS="libboost-thread libboost-system gcc-lib-base"
15 BUILD_DEPENDS="wget cmake libboost-dev gmp-dev mpfr-dev libboost-thread-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 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 }