wok view cgal/receipt @ rev 25317
updated soundtouch and soundtouch-dev (2.1.2 -> 2.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 21 07:14:01 2022 +0100 (2022-07-21) |
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 }