RethinkDB 1.4.0

Closes Homebrew/homebrew#18509.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Etienne Laurin 2013-03-15 12:35:55 -07:00 committed by Adam Vandenberg
parent 725a54ebbc
commit e8b9c1a147

View file

@ -2,24 +2,14 @@ require 'formula'
class Rethinkdb < Formula
homepage 'http://www.rethinkdb.com/'
url 'https://github.com/rethinkdb/rethinkdb/archive/v1.3.2.tar.gz'
sha1 '8956087fb98f32fa5a320e696e28b239afe03ab4'
url 'http://download.rethinkdb.com/dist/rethinkdb-1.4.0.tgz'
sha1 'cc4f75f92aace746e5ea5fce68c0e831f6327890'
head 'https://github.com/rethinkdb/rethinkdb.git'
depends_on 'node' => :build
depends_on 'protobuf' => :build
depends_on 'boost' => :build
depends_on 'v8'
depends_on 'less' => :node
depends_on 'coffee-script' => :node
depends_on 'handlebars' => :node if build.head?
depends_on 'protobuf' => :build
def install
cd "src" do
system "make DEBUG=0 WEBRESDIR=#{share}/rethinkdb/web"
end
bin.install 'build/release/rethinkdb'
(share/'rethinkdb').install 'build/release/web'
system "./configure --prefix=#{prefix}"
system "make install-osx"
end
end