homebrew-core/Formula/rethinkdb.rb
Etienne Laurin 757756db79 rethinkdb: fix the installation path
Some lines in the previous rethinkdb pull request were re-ordered, but
one of the essential lines was removed.

Closes Homebrew/homebrew#17486.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-01 09:10:05 -08:00

25 lines
691 B
Ruby

require 'formula'
class Rethinkdb < Formula
homepage 'http://www.rethinkdb.com/'
url 'https://github.com/rethinkdb/rethinkdb/archive/v1.3.2.tar.gz'
sha1 '8956087fb98f32fa5a320e696e28b239afe03ab4'
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?
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'
end
end