RethinkDB 1.10.1

Closes Homebrew/homebrew#23622.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Etienne Laurin 2013-10-28 21:57:55 -07:00 committed by Adam Vandenberg
parent cfb1d4f674
commit 8d37bf4a08

View file

@ -2,11 +2,12 @@ require 'formula'
class Rethinkdb < Formula
homepage 'http://www.rethinkdb.com/'
url 'http://download.rethinkdb.com/dist/rethinkdb-1.10.0.tgz'
sha1 '9c185d827b8714838d25fabcd289036f8d30059a'
url 'http://download.rethinkdb.com/dist/rethinkdb-1.10.1.tgz'
sha1 '8ef081b20f5677d00da68265fe83d09377784eba'
depends_on :macos => :lion
depends_on 'boost' => :build
depends_on 'protobuf' if MacOS.version >= :mavericks
fails_with :gcc do
build 5666 # GCC 4.2.1
@ -14,7 +15,9 @@ class Rethinkdb < Formula
end
def install
system "./configure", "--prefix=#{prefix}", "--fetch", "protobuf"
args = ["--prefix=#{prefix}", "--fetch", "v8"]
args += ["--fetch", "protobuf"] unless MacOS.version >= :mavericks
system "./configure", *args
system "make"
system "make install-osx"
end