aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorKashif Rasul2015-02-06 17:24:07 +0100
committerTim D. Smith2015-03-19 23:55:29 -0700
commit8938b53897330e527e20d39a6bd9d7cbcf50b000 (patch)
treea3ad3e0305ebe460a3fc93fcffb9ac9c996d8a3e /Library/Formula
parent27b6ab166517fd7e24405495847dd8797f21b27a (diff)
downloadhomebrew-8938b53897330e527e20d39a6bd9d7cbcf50b000.tar.bz2
tachyon 0.6.0 (new formula)
Closes #37444. Signed-off-by: Tim D. Smith <git@tim-smith.us>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/tachyon.rb24
1 files changed, 24 insertions, 0 deletions
diff --git a/Library/Formula/tachyon.rb b/Library/Formula/tachyon.rb
new file mode 100644
index 000000000..bc2f8e155
--- /dev/null
+++ b/Library/Formula/tachyon.rb
@@ -0,0 +1,24 @@
+class Tachyon < Formula
+ homepage "http://tachyon-project.org/"
+ url "https://github.com/amplab/tachyon/releases/download/v0.6.0/tachyon-0.6.0-bin.tar.gz"
+ sha256 "53a9a893a7381d32fcea71f943b999453ee697c6604859a2d9dc07d9420947b2"
+
+ 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