wok-next view cgal/receipt @ rev 20785
gpgme: add gnupg, since build can not find gpgconf and gpg
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sat Jun 09 07:02:52 2018 +0000 (2018-06-09) |
parents | df086e75a457 |
children | a244e109372e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cgal"
4 SOURCE="CGAL"
5 VERSION="4.11"
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 BUILD_DEPENDS="cmake libboost-dev gmp-dev mpfr-dev libboost-thread"
15 SPLIT="cgal cgal-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 case $PACKAGE in
29 cgal)
30 DEPENDS="libboost-thread libboost-system gcc-lib-base"
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 ;;
34 cgal-dev)
35 CAT="development|Computational Geometry Algorithms Library, development files."
36 DEPENDS="cgal"
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/include $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/CGAL $fs/usr/lib
41 ;;
42 esac
43 }