diff options
| author | Nibbles 2bits | 2011-10-27 11:23:23 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-10-29 10:53:24 -0700 |
| commit | a8f8a43829621f03c685ea1c8e8bb8961abcacad (patch) | |
| tree | bf120a50750e6f9497d7132bf9ea90ba2e664334 | |
| parent | e17f91414c6d7001a260bb4a99ae2fd292616d67 (diff) | |
| download | homebrew-a8f8a43829621f03c685ea1c8e8bb8961abcacad.tar.bz2 | |
cgal 3.9
This commit updates cgal to version 3.9 and adjusts the syntax to
follow cmake usage: cmake [options] <path-to-source>
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 <flangy@gmail.com>
| -rw-r--r-- | Library/Formula/cgal.rb | 9 |
1 files changed, 4 insertions, 5 deletions
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 |
