aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/cmake.rb
diff options
context:
space:
mode:
authorMax Howell2011-08-25 02:35:51 +0100
committerMax Howell2011-08-25 02:35:51 +0100
commit311d28fcd7bd22a0a540403dfc097d486f00c162 (patch)
treec10e4a79903624e5d124303806166322883530cc /Library/Formula/cmake.rb
parentab3e6a454433e9d9f0373c02ddd128b55d47a25a (diff)
downloadhomebrew-311d28fcd7bd22a0a540403dfc097d486f00c162.tar.bz2
CMake bottled
Rationale: There's two things that make my Macbook Air fan spin up. Flash videos and building CMake. God I hate this bloated pile of crap. And I always `brew rm cmake` after installing something that misguidedly decided to use a CMake build system. So bottling it is an easier life for everyone.
Diffstat (limited to 'Library/Formula/cmake.rb')
-rw-r--r--Library/Formula/cmake.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/cmake.rb b/Library/Formula/cmake.rb
index 68631aa94..508ac0e86 100644
--- a/Library/Formula/cmake.rb
+++ b/Library/Formula/cmake.rb
@@ -4,6 +4,8 @@ class Cmake < Formula
url 'http://www.cmake.org/files/v2.8/cmake-2.8.5.tar.gz'
md5 '3c5d32cec0f4c2dc45f4c2e84f4a20c5'
homepage 'http://www.cmake.org/'
+ bottle 'https://downloads.sf.net/project/machomebrew/Bottles/cmake-2.8.5-bottle.tar.gz'
+ bottle_sha1 'f7a4c459625eb9282fef9789cab2a702a2dff06a'
def patches
# CMake 2.8.5 fails to find some Qt libraries that CMake 2.8.4 could find.
@@ -21,7 +23,7 @@ class Cmake < Formula
if File.exist? "/Library/Frameworks/expat.framework"
opoo "/Library/Frameworks/expat.framework detected"
puts <<-EOS.undent
- This will be picked up by Cmake's build system and likey cause the
+ This will be picked up by CMake's build system and likey cause the
build to fail, trying to link to a 32-bit version of expat.
You may need to move this file out of the way for this brew to work.
EOS
@@ -30,7 +32,7 @@ class Cmake < Formula
if ENV['GREP_OPTIONS'] == "--color=always"
opoo "GREP_OPTIONS is set to '--color=always'"
puts <<-EOS.undent
- Having `GREP_OPTIONS` set this way causes Cmake builds to fail.
+ Having `GREP_OPTIONS` set this way causes CMake builds to fail.
You will need to `unset GREP_OPTIONS` before brewing.
EOS
end