voltdb 3.5.0.1

Closes Homebrew/homebrew#21957.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Keisuke Takahashi 2013-08-18 01:12:43 +09:00 committed by Adam Vandenberg
parent 389cc07ed0
commit d0c337b3bb

View file

@ -9,9 +9,12 @@ class Voltdb < Formula
def install
system 'ant'
inreplace 'bin/voltdb', /VOLTDB_LIB=\$VOLTDB_HOME\/lib/, 'VOLTDB_LIB=$VOLTDB_HOME/lib/voltdb'
Dir['bin/*'].each do |f|
next if ['bin/voltadmin'].include? f
inreplace f, /VOLTDB_LIB=\$VOLTDB_HOME\/lib/, 'VOLTDB_LIB=$VOLTDB_HOME/lib/voltdb'
end
Dir['lib/*'].each do |f| (lib/'voltdb').install f end
(lib/'voltdb').install Dir['lib/*']
ln_s lib/'voltdb/python', lib/'python'
prefix.install 'bin', 'tools', 'voltdb', 'version.txt', 'doc'
end