wok-6.x annotate cgal/receipt @ rev 22577
updated cabextract (1.9 -> 1.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jan 06 16:52:55 2020 +0100 (2020-01-06) |
parents | afd6aab736f6 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@16724 | 1 # SliTaz package receipt. |
pascal@16724 | 2 |
pascal@16724 | 3 PACKAGE="cgal" |
pascal@16724 | 4 SOURCE="CGAL" |
pascal@19722 | 5 VERSION="4.9" |
pascal@16724 | 6 CATEGORY="misc" |
pascal@16724 | 7 SHORT_DESC="Computational Geometry Algorithms Library." |
pascal@16724 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16724 | 9 LICENSE="GPL3 LGPL3" |
pascal@16724 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
pascal@16724 | 11 WEB_SITE="https://www.cgal.org/" |
pascal@19722 | 12 WGET_URL="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$VERSION/$TARBALL" |
pascal@16724 | 13 |
pascal@16724 | 14 DEPENDS="libboost-thread libboost-system gcc-lib-base" |
pascal@16724 | 15 BUILD_DEPENDS="wget cmake libboost-dev gmp-dev mpfr-dev libboost-thread-dev" |
pascal@16724 | 16 |
pascal@16724 | 17 # Rules to configure and make the package. |
pascal@16724 | 18 compile_rules() |
pascal@16724 | 19 { |
pascal@16724 | 20 cmake -DCMAKE_INSTALL_PREFIX=/usr . |
pascal@16724 | 21 make |
pascal@16724 | 22 make install |
pascal@16724 | 23 } |
pascal@16724 | 24 |
pascal@16724 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16724 | 26 genpkg_rules() |
pascal@16724 | 27 { |
pascal@16724 | 28 mkdir -p $fs/usr/lib |
pascal@16724 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@16724 | 30 } |