wok view cgal/receipt @ rev 18602

Up tazlito, tazpkg
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 16 02:51:15 2015 +0200 (2015-11-16)
parents
children 82133530f0c4
line source
1 # SliTaz package receipt.
3 PACKAGE="cgal"
4 SOURCE="CGAL"
5 VERSION="4.4"
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://gforge.inria.fr/frs/download.php/file/33526/$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 }