aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mongodb.rb
diff options
context:
space:
mode:
authorErnie Hershey2014-05-06 15:28:22 -0400
committerAdam Vandenberg2014-05-06 16:28:33 -0700
commitd16154b7e2228d8104856b7d81c2a69ed34b81b6 (patch)
treef4b0a0c85a83454b0512e461e741e08f28a25e17 /Library/Formula/mongodb.rb
parent6bee8f06d5d4101b000029974ec5985cec495124 (diff)
downloadhomebrew-d16154b7e2228d8104856b7d81c2a69ed34b81b6.tar.bz2
mongodb 2.6.1 and 2.7.0
Diffstat (limited to 'Library/Formula/mongodb.rb')
-rw-r--r--Library/Formula/mongodb.rb16
1 files changed, 9 insertions, 7 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb
index 1e72aa141..3f583b867 100644
--- a/Library/Formula/mongodb.rb
+++ b/Library/Formula/mongodb.rb
@@ -2,14 +2,15 @@ require 'formula'
class Mongodb < Formula
homepage "http://www.mongodb.org/"
- url "http://downloads.mongodb.org/src/mongodb-src-r2.6.0.tar.gz"
- sha1 "35f8efe61d992f4b71c9205a9dbcab50e745c9a3"
- revision 1
+ url "http://downloads.mongodb.org/src/mongodb-src-r2.6.1.tar.gz"
+ sha1 "3e069329e93a45f14bb86618eceea08d376dbc82"
bottle do
- sha1 "1c7b447ae2077b9efeaee2aa2c2474dc6b19ab6f" => :mavericks
- sha1 "0004e3bfb60db586f6ced02769ccd1cf325e0929" => :mountain_lion
- sha1 "7667f6cc36859fb9fced1885f382b76ae325583c" => :lion
+ end
+
+ devel do
+ url "http://downloads.mongodb.org/src/mongodb-src-r2.7.0.tar.gz"
+ sha1 "43449a69c3386e13fdb6abb2b13933f3ba607cc5"
end
head do
@@ -39,7 +40,8 @@ class Mongodb < Formula
args << "--cxx=#{cxx}"
# --full installs development headers and client library, not just binaries
- args << "--full"
+ # (only supported pre-2.7)
+ args << "--full" if build.stable?
args << "--use-system-boost" if build.with? "boost"
if build.with? 'openssl'