From d1270060d9356ee3983b7301341795972d14bf20 Mon Sep 17 00:00:00 2001 From: Dzhelil Rufat Date: Wed, 23 Jun 2010 20:49:22 -0700 Subject: [PATCH] New Formula: CGAL 3.2 The goal of the CGAL Open Source Project is to provide 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: computer graphics, scientific visualization, computer aided design and modeling, geographic information systems, molecular biology, medical imaging, robotics and motion planning, mesh generation, numerical methods... Signed-off-by: Adam Vandenberg --- Formula/cgal.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Formula/cgal.rb diff --git a/Formula/cgal.rb b/Formula/cgal.rb new file mode 100644 index 0000000000..418853c46e --- /dev/null +++ b/Formula/cgal.rb @@ -0,0 +1,18 @@ +require 'formula' + +class Cgal :optional + + def install + system "cmake", ".", "-DCMAKE_INSTALL_PREFIX=#{prefix}", "-DCMAKE_BUILD_TYPE=Release" + system "make install" + end +end