2013-08-04 06:46:11 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Voltdb < Formula
|
|
|
|
homepage 'https://github.com/VoltDB/voltdb'
|
|
|
|
head 'https://github.com/VoltDB/voltdb.git'
|
2013-11-14 04:45:00 +00:00
|
|
|
url 'https://github.com/VoltDB/voltdb/archive/voltdb-3.7.tar.gz'
|
|
|
|
sha1 'f6a8cf8652b7247ea39bfa2f6fa410a15ffc6ab5'
|
2013-08-04 06:46:11 +00:00
|
|
|
|
2014-05-30 19:58:04 +00:00
|
|
|
depends_on :ant => :build
|
2013-10-28 19:46:49 +00:00
|
|
|
|
2013-08-04 06:46:11 +00:00
|
|
|
def install
|
|
|
|
system 'ant'
|
|
|
|
|
2014-04-17 15:15:52 +00:00
|
|
|
inreplace Dir["bin/*"] - ["bin/voltadmin"],
|
|
|
|
/VOLTDB_LIB=\$VOLTDB_HOME\/lib/, 'VOLTDB_LIB=$VOLTDB_HOME/lib/voltdb'
|
2013-08-04 06:46:11 +00:00
|
|
|
|
2013-08-17 16:12:43 +00:00
|
|
|
(lib/'voltdb').install Dir['lib/*']
|
2014-03-25 15:54:37 +00:00
|
|
|
lib.install_symlink lib/"voltdb/python"
|
2013-08-04 06:46:11 +00:00
|
|
|
prefix.install 'bin', 'tools', 'voltdb', 'version.txt', 'doc'
|
|
|
|
end
|
|
|
|
end
|