From a8f8a43829621f03c685ea1c8e8bb8961abcacad Mon Sep 17 00:00:00 2001 From: Nibbles 2bits Date: Thu, 27 Oct 2011 11:23:23 -0700 Subject: cgal 3.9 This commit updates cgal to version 3.9 and adjusts the syntax to follow cmake usage: cmake [options] This compiles on 64bit Snow Leopard using XCode-4.0.2 using clang, llvm-2335, and gcc-4.2.1.5666. Signed-off-by: Adam Vandenberg --- Library/Formula/cgal.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Library') diff --git a/Library/Formula/cgal.rb b/Library/Formula/cgal.rb index 8e93b6645..baaecb6fd 100644 --- a/Library/Formula/cgal.rb +++ b/Library/Formula/cgal.rb @@ -1,8 +1,8 @@ require 'formula' class Cgal < Formula - url 'https://gforge.inria.fr/frs/download.php/28500/CGAL-3.8.tar.gz' - md5 'b8a79e62e4d8ba8b649d815aebbd1c0a' + url 'https://gforge.inria.fr/frs/download.php/29125/CGAL-3.9.tar.gz' + sha1 'cc99fad7116f221b6301326834f71ff65cebf2eb' homepage 'http://www.cgal.org/' depends_on 'cmake' => :build @@ -18,12 +18,11 @@ class Cgal < Formula def install args = ["-DCMAKE_INSTALL_PREFIX=#{prefix}", "-DCMAKE_BUILD_TYPE=Release"] - unless ARGV.include? '--imaging' args << "-DWITH_CGAL_Qt3=OFF" << "-DWITH_CGAL_Qt4=OFF" << "-DWITH_CGAL_ImageIO=OFF" end - - system "cmake", ".", *args + args << '.' + system "cmake", *args system "make install" end end -- cgit v1.2.3