mongodb 3.5.6 (devel)

mongodb: added 3.5.6 devel version

Closes #14628.

Signed-off-by: Alex Dunn <dunn.alex@gmail.com>
master
Zakhar Kleyman 2017-06-14 16:17:06 -04:00 committed by Alex Dunn
parent c055e10e44
commit ed8fbaff00
1 changed files with 26 additions and 10 deletions

View File

@ -3,15 +3,36 @@ require "language/go"
class Mongodb < Formula
desc "High-performance, schema-free, document-oriented database"
homepage "https://www.mongodb.org/"
stable do
url "https://fastdl.mongodb.org/src/mongodb-src-r3.4.4.tar.gz"
sha256 "09e962bf3428474b9790bbd464cb6176817f9da6121c30e096240dbb4d51c9f6"
go_resource "github.com/mongodb/mongo-tools" do
url "https://github.com/mongodb/mongo-tools.git",
:tag => "r3.4.4",
:revision => "17fbdf31abca50cdfe27482b05b1476f42ecab0a",
:shallow => false
end
end
bottle do
sha256 "6bce1a94cb3cda934bc9c12bd8ca1da3411fa6959f7e71fa6ba822a399fd5a82" => :sierra
sha256 "23169e737a9c73dde8aa497ea754d370a102c634a2d12fb96224556e4b8063c6" => :el_capitan
sha256 "5124e03c37ef9d6dd673ddebeb9bd403456170c2168c6f558b9b4c1379df8459" => :yosemite
end
devel do
url "https://fastdl.mongodb.org/src/mongodb-src-r3.5.6.tar.gz"
sha256 "57839e0e19c5fa986d498857e7ac617c368f1a5768539b28b7740d7079ea1670"
go_resource "github.com/mongodb/mongo-tools" do
url "https://github.com/mongodb/mongo-tools.git",
:tag => "r3.5.6",
:revision => "8bda55730d30c414a71dfbe6f45f5c54ef97811d"
end
end
option "with-boost", "Compile using installed boost, not the version shipped with mongodb"
option "with-sasl", "Compile with SASL support"
@ -21,13 +42,6 @@ class Mongodb < Formula
depends_on "scons" => :build
depends_on "openssl" => :recommended
go_resource "github.com/mongodb/mongo-tools" do
url "https://github.com/mongodb/mongo-tools.git",
:tag => "r3.4.4",
:revision => "17fbdf31abca50cdfe27482b05b1476f42ecab0a",
:shallow => false
end
needs :cxx11
def install
@ -58,9 +72,11 @@ class Mongodb < Formula
args = %W[
--prefix=#{prefix}
-j#{ENV.make_jobs}
--osx-version-min=#{MacOS.version}
]
args << "--osx-version-min=#{MacOS.version}" if build.stable?
args << "CCFLAGS=-mmacosx-version-min=#{MacOS.version}" if build.devel?
args << "LINKFLAGS=-mmacosx-version-min=#{MacOS.version}" if build.devel?
args << "CC=#{ENV.cc}"
args << "CXX=#{ENV.cxx}"