2015-02-06 16:24:07 +00:00
|
|
|
class Tachyon < Formula
|
|
|
|
homepage "http://tachyon-project.org/"
|
2015-05-03 10:10:18 +00:00
|
|
|
url "https://github.com/amplab/tachyon/releases/download/v0.6.4/tachyon-0.6.4-bin.tar.gz"
|
|
|
|
sha256 "c105e2e984cc7139933e1d1debc4b393fe22ef33fb90776edc5be7148829b820"
|
2015-02-06 16:24:07 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install %w[bin client conf core libexec]
|
|
|
|
bin.write_exec_script Dir["#{libexec}/bin/*"]
|
|
|
|
doc.install Dir["docs/*"]
|
|
|
|
|
|
|
|
(etc/"tachyon").install libexec/"conf/tachyon-env.sh.template" => "tachyon-env.sh"
|
|
|
|
ln_sf "#{etc}/tachyon/tachyon-env.sh", "#{libexec}/conf/tachyon-env.sh"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"tachyon", "version"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
|
|
|
To configure tachyon, edit
|
|
|
|
#{etc}/tacyon/tachyon-env.sh
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|