diff options
| author | Max Howell | 2009-05-21 00:04:43 +0100 |
|---|---|---|
| committer | Max Howell | 2009-05-21 00:04:43 +0100 |
| commit | 84c5c3e5c301382ede5b1f04c7440ee9055589af (patch) | |
| tree | fe8248a0b54da1dbb92693f9dca7db0c6bb56ed9 /Formula/cmake.rb | |
| parent | 29d85578e75170a6c0eaebda4d701b46f1acf446 (diff) | |
| download | brew-0.1.tar.bz2 | |
The core tree, and some formulae0.1
Diffstat (limited to 'Formula/cmake.rb')
| -rw-r--r-- | Formula/cmake.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Formula/cmake.rb b/Formula/cmake.rb new file mode 100644 index 000000000..0961a8254 --- /dev/null +++ b/Formula/cmake.rb @@ -0,0 +1,11 @@ +$:.unshift "#{File.dirname __FILE__}/../Cellar/homebrew" #rubysucks +require 'brewkit' + +url='http://www.cmake.org/files/v2.6/cmake-2.6.3.tar.gz' +md5='5ba47a94ce276f326abca1fd72a7e7c6' + +Formula.new(url, md5).brew do |prefix| + system "./bootstrap --prefix=#{prefix} --system-libs" + system "make" + system "make install" +end
\ No newline at end of file |
