RethinkDB 1.3.2
Closes Homebrew/homebrew#17391. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
951e313335
commit
b6e830b4ee
1 changed files with 22 additions and 0 deletions
22
Formula/rethinkdb.rb
Normal file
22
Formula/rethinkdb.rb
Normal file
|
@ -0,0 +1,22 @@
|
|||
require 'formula'
|
||||
|
||||
class Rethinkdb < Formula
|
||||
homepage 'http://www.rethinkdb.com/'
|
||||
url 'https://github.com/rethinkdb/rethinkdb/archive/v1.3.2.tar.gz'
|
||||
sha1 '8956087fb98f32fa5a320e696e28b239afe03ab4'
|
||||
|
||||
depends_on 'v8'
|
||||
depends_on 'node' => :build
|
||||
depends_on 'protobuf' => :build
|
||||
depends_on 'less' => :node
|
||||
depends_on 'coffee-script' => :node
|
||||
depends_on LanguageModuleDependency.new(:ruby, 'ruby_protobuf', 'protobuf/compiler/compiler')
|
||||
|
||||
def install
|
||||
system "cd src; make DEBUG=0 FORCEVERSION=1 RETHINKDB_VERSION=#{version} PREFIX=#{prefix} WEBRESDIR=#{share}/rethinkdb/web"
|
||||
bin.install 'build/release/rethinkdb'
|
||||
|
||||
(share/'rethinkdb').mkpath
|
||||
share.install 'build/release/web' => 'rethinkdb'
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue