wok view cgal/receipt @ rev 20283

security fixes from 0.3.1.9 (2017 Dec 1) and 0.3.1.10 (March 3)... further info: https://blog.torproject.org/new-stable-tor-releases-security-fixes-and-dos-prevention-03210-03110-02915
author Erkan Yilmaz <erkan@slitaz.org>
date Tue Mar 27 11:09:07 2018 +0000 (2018-03-27)
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 }