aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cgal.rb
diff options
context:
space:
mode:
authorDzhelil Rufat2010-06-23 20:49:22 -0700
committerAdam Vandenberg2010-06-30 12:56:13 -0700
commiteb48426d9267e89ba68d1f8f1e41983e31c91d75 (patch)
tree82fc8c945c349c7efa131212028dd963606b2cc5 /Library/Formula/cgal.rb
parent5117882e06f6e1a34c6b20dcdb8c5d8a1ffe0996 (diff)
downloadhomebrew-eb48426d9267e89ba68d1f8f1e41983e31c91d75.tar.bz2
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 <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/cgal.rb')
-rw-r--r--Library/Formula/cgal.rb18
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/cgal.rb b/Library/Formula/cgal.rb
new file mode 100644
index 000000000..418853c46
--- /dev/null
+++ b/Library/Formula/cgal.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Cgal <Formula
+ url 'https://gforge.inria.fr/frs/download.php/26688/CGAL-3.6.tar.gz'
+ md5 '78dbaf85df0a53ca0e87308d9cbf671e'
+ homepage 'http://www.cgal.org/'
+
+ depends_on 'cmake'
+ depends_on 'boost'
+ depends_on 'gmp'
+ depends_on 'mpfr'
+ depends_on 'qt' => :optional
+
+ def install
+ system "cmake", ".", "-DCMAKE_INSTALL_PREFIX=#{prefix}", "-DCMAKE_BUILD_TYPE=Release"
+ system "make install"
+ end
+end