aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorBrandon Black2012-10-30 15:11:43 -0700
committerAdam Vandenberg2012-10-31 06:53:06 -0700
commit5bf64eaff1149f3e5526d8455a82206bba299368 (patch)
tree6e6bc7da54e6ffc009974d2c3dd171df5e87f358 /Library
parent7073788f0ce43271229be90a5a8687214e769df8 (diff)
downloadhomebrew-5bf64eaff1149f3e5526d8455a82206bba299368.tar.bz2
MongoDB 2.2.1 (Stable) and 2.3.0 (Development)
Closes #15770. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mongodb.rb33
1 files changed, 16 insertions, 17 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb
index bf3dc3a3f..a100ada94 100644
--- a/Library/Formula/mongodb.rb
+++ b/Library/Formula/mongodb.rb
@@ -3,29 +3,28 @@ require 'formula'
class Mongodb < Formula
homepage 'http://www.mongodb.org/'
- if Hardware.is_64_bit? and not build.build_32_bit?
- url 'http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-2.2.0.tgz'
- sha1 '313a2f7c91354a4cfae7098e622001b4ee483f71'
- version '2.2.0-x86_64'
+ if Hardware.is_64_bit?
+ url 'http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-2.2.1.tgz'
+ sha1 '6fc3054cdc7f7e64b12742f7e8f9df256a3253d9'
+ version '2.2.1-x86_64'
devel do
- url 'http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-2.2.1-rc0.tgz'
- sha1 'f33522f38280137d6b8d2e4b1befd9b7764c6790'
- version '2.2.1-rc0-x86_64'
+ url 'http://fastdl.mongodb.org/osx/mongodb-osx-x86_64-2.3.0.tgz'
+ sha1 '816ca175bd31e2ec1eb8b61793b1d1e4a247a5da'
+ version '2.3.0-x86_64'
end
else
- url 'http://fastdl.mongodb.org/osx/mongodb-osx-i386-2.2.0.tgz'
- sha1 'd0a879d8a6fb861917c955dbfe6aebe2cbe29171'
- version '2.2.0-i386'
+ onoe <<-EOS-undent
+ === Error! Unable to proceed with installation. ===
+ Pre-built binaries for 32-bit OS X systems are no longer available.
- devel do
- url 'http://fastdl.mongodb.org/osx/mongodb-osx-i386-2.2.1-rc0.tgz'
- sha1 '145d659822f836afac85d635e889b2cfa403ed92'
- version '2.2.1-rc0-i386'
- end
- end
+ It's not recommended, but if you do need to run MongoDB on a 32-bit
+ version of OS X you can do so by compiling the server from source.
- option '32-bit'
+ For more info about building MongoDB from source code, please visit:
+ http://www.mongodb.org/display/DOCS/Building+for+OS+X
+ EOS
+ end
def install
# Copy the prebuilt binaries to prefix