voltdb 3.5.0.1
Closes Homebrew/homebrew#21957. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
389cc07ed0
commit
d0c337b3bb
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue