wok-current view cgal/receipt @ rev 25495
Up expat (2.5.0), CVE-2022-43680
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 02 10:14:28 2022 +0000 (23 months ago) |
parents | 82133530f0c4 |
children |
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 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cmake -DCMAKE_INSTALL_PREFIX=/usr .
27 make
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }