tachyon 0.6.0 (new formula)
Closes Homebrew/homebrew#37444. Signed-off-by: Tim D. Smith <git@tim-smith.us>
This commit is contained in:
parent
7225c82eac
commit
37fbebe234
1 changed files with 24 additions and 0 deletions
24
Formula/tachyon.rb
Normal file
24
Formula/tachyon.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue