diff options
author | Florian Franzmann | 2019-07-14 17:43:19 +0200 |
---|---|---|
committer | Florian Franzmann | 2019-07-14 17:43:19 +0200 |
commit | 5a31b3dcd355c8874a2a457b7d61867b1799c9b7 (patch) | |
tree | 98faa7455f71491007e64cdebfb32759ce06bf27 /science | |
parent | 63a776b9fa5bac05ad4b7103144bc5fe9eabc990 (diff) |
science/cgal: new spell, the computational geometry algorithms library
Diffstat (limited to 'science')
-rwxr-xr-x | science/cgal/BUILD | 1 | ||||
-rwxr-xr-x | science/cgal/DEPENDS | 15 | ||||
-rwxr-xr-x | science/cgal/DETAILS | 23 | ||||
-rw-r--r-- | science/cgal/HISTORY | 3 |
4 files changed, 42 insertions, 0 deletions
diff --git a/science/cgal/BUILD b/science/cgal/BUILD new file mode 100755 index 0000000000..0defb8d650 --- /dev/null +++ b/science/cgal/BUILD @@ -0,0 +1 @@ +OPTS="-DWITH_LEDA=OFF $OPTS" cmake_build diff --git a/science/cgal/DEPENDS b/science/cgal/DEPENDS new file mode 100755 index 0000000000..819e704893 --- /dev/null +++ b/science/cgal/DEPENDS @@ -0,0 +1,15 @@ +depends -sub CXX gcc && +depends mpfr && +depends boost && +depends zlib && +depends libx11 && +depends OPENGL && +depends glu && + +optional_depends eigen3 "-DWITH_Eigen3=ON" "-DWITH_Eigen3=OFF" "use Eigen3" && +optional_depends zlib "-DWITH_ZLIB=ON" "-DWITH_ZLIB=OFF" "use zlib" && +optional_depends gmp "-DWITH_GMP=ON" "-DWITH_GMP=OFF" "use arbitrary precision integers" && +optional_depends qtbase "-DWITH_CGAL_Qt5=ON" "-DWITH_CGAL_Qt5=OFF" "for GUI support" && +if is_depends_enabled $SPELL qtbase; then + depends qtsvg +fi diff --git a/science/cgal/DETAILS b/science/cgal/DETAILS new file mode 100755 index 0000000000..ca969cbbe6 --- /dev/null +++ b/science/cgal/DETAILS @@ -0,0 +1,23 @@ + SPELL=cgal + VERSION=4.13.1 + SOURCE="CGAL-${VERSION}.tar.gz" + SOURCE_URL[0]=https://codeload.github.com/CGAL/cgal/tar.gz/releases/CGAL-$VERSION + SOURCE_HASH=sha512:589a844a6e5c2a10ee325f8f0b597742d4242ce17efd5e6e583f8eeadf9abfc4970e2d9daabd73488388a90f524912a71354282b1df5298dd514d1c5a9e8bd68 +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/cgal-releases-CGAL-${VERSION}" + WEB_SITE="https://www.cgal.org" + LICENSE[0]=GPL + ENTERED=20190714 + SHORT="a software project that provides easy access to efficient and reliable geometric algorithms" +cat << EOF +CGAL is a software project that provides easy access to efficient and reliable +geometric algorithms in the form of a C++ library. CGAL is used in various +areas needing geometric computation, such as geographic information systems, +computer aided design, molecular biology, medical imaging, computer graphics, +and robotics. + +The library offers data structures and algorithms like triangulations, Voronoi +diagrams, Boolean operations on polygons and polyhedra, point set processing, +arrangements of curves, surface and volume mesh generation, geometry +processing, alpha shapes, convex hull algorithms, shape reconstruction, +AABB and KD trees. +EOF diff --git a/science/cgal/HISTORY b/science/cgal/HISTORY new file mode 100644 index 0000000000..f5ad011d78 --- /dev/null +++ b/science/cgal/HISTORY @@ -0,0 +1,3 @@ +2019-07-14 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de> + * BUILD, DEPENDS, DETAILS: spell created + |