diff options
| author | Mike McQuaid | 2012-08-16 21:14:07 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2012-08-16 21:14:07 +0100 |
| commit | 8bb77e6808915e36882d3bebad2ec40ec2fcb4c5 (patch) | |
| tree | e37bf6203cdd88e2f977afbe11e5cfa40050ff89 /Library | |
| parent | 8b77971411fc0444da82b7d511e0447c6a1f24da (diff) | |
| download | homebrew-8bb77e6808915e36882d3bebad2ec40ec2fcb4c5.tar.bz2 | |
cmake: 2.8.9
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/cmake.rb | 30 |
1 files changed, 5 insertions, 25 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb index 4b6d0d08f..a70c0baf9 100644 --- a/Library/Formula/cmake.rb +++ b/Library/Formula/cmake.rb @@ -18,32 +18,17 @@ end class Cmake < Formula homepage 'http://www.cmake.org/' - url 'http://www.cmake.org/files/v2.8/cmake-2.8.8.tar.gz' - sha1 'a74dfc3e0a0d7f857ac5dda03bb99ebf07676da1' + url 'http://www.cmake.org/files/v2.8/cmake-2.8.9.tar.gz' + sha1 'b96663c0757a5edfbddc410aabf7126a92131e2b' bottle do - version 3 - sha1 '64e1a488bc669f7676c99874b8496ac147d1bc70' => :mountainlion - sha1 'bdfb5fcd6743d65f6cfe00b314f9d3f1049e902b' => :lion - sha1 '3a77fc17a7b1d3cceabddcca5c126c6b911c2f90' => :snowleopard + sha1 'ae7e0cf39556ea0a32e7bb7716ac820734ca7918' => :mountainlion + sha1 '6631aaeeafb9209e711508ad72727fbb4b5ab295' => :lion + sha1 'ea52f2a18b00f3404e8bf73c12c3da1d9a39f128' => :snowleopard end depends_on NoExpatFramework.new - option 'enable-ninja', 'Enable Ninja build system support' - - def patches - [ - # Correct FindPkgConfig found variable. Remove for CMake 2.8.9. - "https://github.com/Kitware/CMake/commit/3ea850.patch", - # Workaround DeployQt4 issue. Remove for CMake 2.8.9. - "https://github.com/Kitware/CMake/commit/374b9b.patch", - # Protect the default value of CMAKE_FIND_FRAMEWORK so that it can be - # overridden from the command line. Remove for CMake 2.8.9. - "https://github.com/Kitware/CMake/commit/8b2fb3.patch" - ] - end - def install args = %W[ --prefix=#{prefix} @@ -54,11 +39,6 @@ class Cmake < Formula --mandir=/share/man ] - if build.include? "enable-ninja" - args << "--" - args << "-DCMAKE_ENABLE_NINJA=1" - end - system "./bootstrap", *args system "make" system "make install" |
