wok-6.x view cgal/receipt @ rev 23654

Up openssh (8.2p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 21 06:14:03 2020 +0000 (2020-04-21)
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 }