wok-next rev 20103
Up cgal (4.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 29 11:38:58 2017 +0100 (2017-10-29) |
parents | 3d715c326b97 |
children | 9dd8e9ef3589 |
files | cgal-dev/receipt cgal/receipt |
line diff
1.1 --- a/cgal-dev/receipt Sun Oct 29 11:03:19 2017 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,21 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="cgal-dev" 1.7 -VERSION="4.4" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="Computational Geometry Algorithms Library, development files." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="GPL3 LGPL3" 1.12 -WEB_SITE="https://www.cgal.org/" 1.13 -WANTED="cgal" 1.14 - 1.15 -DEPENDS="cgal" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/usr/lib 1.21 - cp -a $install/usr/include $fs/usr 1.22 - cp -a $install/usr/bin $fs/usr 1.23 - cp -a $install/usr/lib/CGAL $fs/usr/lib 1.24 -}
2.1 --- a/cgal/receipt Sun Oct 29 11:03:19 2017 +0100 2.2 +++ b/cgal/receipt Sun Oct 29 11:38:58 2017 +0100 2.3 @@ -1,18 +1,18 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="cgal" 2.8 SOURCE="CGAL" 2.9 -VERSION="4.4" 2.10 +VERSION="4.11" 2.11 CATEGORY="misc" 2.12 SHORT_DESC="Computational Geometry Algorithms Library." 2.13 MAINTAINER="pascal.bellard@slitaz.org" 2.14 LICENSE="GPL3 LGPL3" 2.15 TARBALL="$SOURCE-$VERSION.tar.xz" 2.16 WEB_SITE="https://www.cgal.org/" 2.17 -WGET_URL="https://gforge.inria.fr/frs/download.php/file/33526/$TARBALL" 2.18 +WGET_URL="https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-$VERSION/$TARBALL" 2.19 2.20 -DEPENDS="libboost-thread libboost-system gcc-lib-base" 2.21 BUILD_DEPENDS="wget cmake libboost-dev gmp-dev mpfr-dev libboost-thread" 2.22 +SPLIT="cgal cgal-dev" 2.23 2.24 # Rules to configure and make the package. 2.25 compile_rules() 2.26 @@ -25,6 +25,19 @@ 2.27 # Rules to gen a SliTaz package suitable for Tazpkg. 2.28 genpkg_rules() 2.29 { 2.30 - mkdir -p $fs/usr/lib 2.31 - cp -a $install/usr/lib/*.so* $fs/usr/lib 2.32 + case $PACKAGE in 2.33 + cgal) 2.34 + DEPENDS="libboost-thread libboost-system gcc-lib-base" 2.35 + mkdir -p $fs/usr/lib 2.36 + cp -a $install/usr/lib/*.so* $fs/usr/lib 2.37 + ;; 2.38 + cgal-dev) 2.39 + CAT="development|Computational Geometry Algorithms Library, development files." 2.40 + DEPENDS="cgal" 2.41 + mkdir -p $fs/usr/lib 2.42 + cp -a $install/usr/include $fs/usr 2.43 + cp -a $install/usr/bin $fs/usr 2.44 + cp -a $install/usr/lib/CGAL $fs/usr/lib 2.45 + ;; 2.46 + esac 2.47 }