From 311d28fcd7bd22a0a540403dfc097d486f00c162 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 25 Aug 2011 02:35:51 +0100 Subject: 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.--- Library/Formula/cmake.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3