wok-next annotate cgal/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a244e109372e
children d635206a5649
rev   line source
pascal@20103 1 # SliTaz package receipt v2.
pascal@16724 2
pascal@16724 3 PACKAGE="cgal"
pascal@20103 4 VERSION="4.11"
pascal@16724 5 CATEGORY="misc"
al@21020 6 SHORT_DESC="Computational Geometry Algorithms Library"
pascal@16724 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16724 8 LICENSE="GPL3 LGPL3"
pascal@16724 9 WEB_SITE="https://www.cgal.org/"
al@21020 10
al@21020 11 TARBALL="CGAL-$VERSION.tar.xz"
pascal@20103 12 WGET_URL="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$VERSION/$TARBALL"
pascal@16724 13
al@20915 14 BUILD_DEPENDS="cmake boost-dev gmp-dev mpfr-dev boost-thread"
al@21020 15 SPLIT="$PACKAGE-dev"
pascal@16724 16
al@21020 17 compile_rules() {
al@21020 18 cmake \
al@21020 19 -DCMAKE_INSTALL_PREFIX=/usr \
al@21020 20 . &&
al@21020 21 make &&
pascal@16724 22 make install
pascal@16724 23 }
pascal@16724 24
al@21020 25 genpkg_rules() {
pascal@20103 26 case $PACKAGE in
al@21020 27 cgal)
al@21020 28 copy @std
al@21020 29 DEPENDS="boost-thread boost-system gcc-lib-base"
al@21020 30 ;;
al@21020 31 *-dev)
al@21020 32 copy @dev
pascal@20103 33 ;;
pascal@20103 34 esac
pascal@16724 35 }