wok-next view cgal/receipt @ rev 21094
Apply "force-arch" for selected dev packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 31 17:23:40 2018 +0200 (2018-12-31) |
parents | d635206a5649 |
children | b7d7d7addd05 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cgal"
4 VERSION="4.11"
5 CATEGORY="misc"
6 SHORT_DESC="Computational Geometry Algorithms Library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3 LGPL3"
9 WEB_SITE="https://www.cgal.org/"
11 TARBALL="CGAL-$VERSION.tar.xz"
12 WGET_URL="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$VERSION/$TARBALL"
14 BUILD_DEPENDS="cmake boost-dev gmp-dev mpfr-dev boost-thread"
15 SPLIT="$PACKAGE-dev"
17 DEPENDS_std="boost-thread boost-system gcc-lib-base"
19 COOKOPTS="force-arch" # different .cmake
21 compile_rules() {
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 . &&
25 make &&
26 make install
27 }