diff options
| author | Joep Loijens | 2015-04-10 22:23:05 +0200 |
|---|---|---|
| committer | Tim D. Smith | 2015-04-10 17:23:03 -0700 |
| commit | b5635654bfd0bf90e1823946131128cb13f0e0e8 (patch) | |
| tree | e430e80ad24d1ef5136d4c60d06933f5ede2c0cc /Library | |
| parent | 147f733a077c7793795d1bb5bc2b0dd0cf6c5092 (diff) | |
| download | homebrew-b5635654bfd0bf90e1823946131128cb13f0e0e8.tar.bz2 | |
mongodb 3.0.2
Closes #38528.
Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/mongodb.rb | 24 |
1 files changed, 9 insertions, 15 deletions
diff --git a/Library/Formula/mongodb.rb b/Library/Formula/mongodb.rb index 71c3dd77b..7fa819aa7 100644 --- a/Library/Formula/mongodb.rb +++ b/Library/Formula/mongodb.rb @@ -1,19 +1,9 @@ -require "formula" require "language/go" class Mongodb < Formula homepage "https://www.mongodb.org/" - url "https://fastdl.mongodb.org/src/mongodb-src-r3.0.1.tar.gz" - sha256 "68980641996a3a4b5440e12d343c2de98bb7f350fbc0c8327a674094d6e11213" - - # Mongo HEAD now requires mongo-tools, and Golang - # https://jira.mongodb.org/browse/SERVER-15806 - depends_on "go" => :build - go_resource "github.com/mongodb/mongo-tools" do - url "https://github.com/mongodb/mongo-tools.git", - :tag => "r3.0.1", - :revision => "bc08e57abb71b2edd1cc3ab8f9f013409718f197" - end + url "https://fastdl.mongodb.org/src/mongodb-src-r3.0.2.tar.gz" + sha256 "010522203cdb9bbff52fbd9fe299b67686bb1256e2e55eb78abf35444f668399" bottle do sha256 "3761153651660207c145da9eac659c7b8ddaed879b44f6127c534d5f79e32f46" => :yosemite @@ -24,14 +14,18 @@ class Mongodb < Formula option "with-boost", "Compile using installed boost, not the version shipped with mongodb" depends_on "boost" => :optional + depends_on "go" => :build depends_on :macos => :snow_leopard depends_on "scons" => :build depends_on "openssl" => :optional - def install + go_resource "github.com/mongodb/mongo-tools" do + url "https://github.com/mongodb/mongo-tools.git", + :tag => "r3.0.2", + :revision => "a914adfcea7d76f07512415eec5cd8308e67318e" + end - # New Go tools have their own build script but the server scons "install" target is still - # responsible for installing them. + def install Language::Go.stage_deps resources, buildpath/"src" cd "src/github.com/mongodb/mongo-tools" do |
