diff options
| author | Adam Vandenberg | 2009-11-06 11:34:54 -0800 |
|---|---|---|
| committer | Max Howell | 2009-11-09 18:35:39 +0000 |
| commit | eef50b417bd04b7594b60ae4e852e506629e8057 (patch) | |
| tree | 28d5b20d598235d63dbbedd498a0e242ba8876fa /Library/Formula/mongodb.rb | |
| parent | 039e2d15c08793521ac34f9758cd8289d3e9a240 (diff) | |
| download | homebrew-eef50b417bd04b7594b60ae4e852e506629e8057.tar.bz2 | |
MongoDB - add --32bit option to force 32 bits; don't strip binaries.
Diffstat (limited to 'Library/Formula/mongodb.rb')
| -rw-r--r-- | Library/Formula/mongodb.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 3d0a12bdb..4d149afb2 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -3,12 +3,18 @@ require 'formula' class Mongodb <Formula homepage 'http://www.mongodb.org/' - if Hardware.is_64_bit? + if Hardware.is_64_bit? and not ARGV.include? '--32bit' url 'http://downloads.mongodb.org/osx/mongodb-osx-x86_64-1.1.2.tgz' md5 '7fdcd8173fa975295b961e760eed1751' + version '1.1.2-x86_64' else url 'http://downloads.mongodb.org/osx/mongodb-osx-i386-1.1.2.tgz' md5 '0e10467e2a0877d189e4d4c0783ebc4b' + version '1.1.2-i386' + end + + def skip_clean? path + true end def install |
