# HG changeset patch # User Pascal Bellard # Date 1401739728 0 # Node ID afd6aab736f6f90be2c35d1af01a4bac63f078b8 # Parent 8234c9e747d9177bcf6be51a7d3ab4fa0a0c1fe7 Add cgal diff -r 8234c9e747d9 -r afd6aab736f6 cgal-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cgal-dev/receipt Mon Jun 02 20:08:48 2014 +0000 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="cgal-dev" +VERSION="4.4" +CATEGORY="development" +SHORT_DESC="Computational Geometry Algorithms Library, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3 LGPL3" +WEB_SITE="https://www.cgal.org/" +WANTED="cgal" + +DEPENDS="cgal" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/CGAL $fs/usr/lib +} diff -r 8234c9e747d9 -r afd6aab736f6 cgal/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cgal/receipt Mon Jun 02 20:08:48 2014 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="cgal" +SOURCE="CGAL" +VERSION="4.4" +CATEGORY="misc" +SHORT_DESC="Computational Geometry Algorithms Library." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3 LGPL3" +TARBALL="$SOURCE-$VERSION.tar.xz" +WEB_SITE="https://www.cgal.org/" +WGET_URL="https://gforge.inria.fr/frs/download.php/file/33526/$TARBALL" + +DEPENDS="libboost-thread libboost-system gcc-lib-base" +BUILD_DEPENDS="wget cmake libboost-dev gmp-dev mpfr-dev libboost-thread-dev" + +# Rules to configure and make the package. +compile_rules() +{ + cmake -DCMAKE_INSTALL_PREFIX=/usr . + make + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib +}