wok-6.x annotate cgal/receipt @ rev 20102
Add plsh & pypdf2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 09 13:07:28 2017 +0200 (2017-10-09) |
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 } |