homebrew-core/Formula/tachyon.rb
Miguel Araújo 38c8078d55 tachyon: fix audit warning
* Description is too long. "name: desc" should be less than 80 characters.
Length is calculated as tachyon + desc. (currently 81)
2016-08-23 14:41:34 +01:00

27 lines
766 B
Ruby

class Tachyon < Formula
desc "Open Source Memory Speed Virtual Distributed Storage"
homepage "http://tachyon-project.org/"
url "http://tachyon-project.org/downloads/files/0.8.2/tachyon-0.8.2-bin.tar.gz"
sha256 "52823ba1b5764a3c4be6738a0becb80d88de636bb605310718f6bf0fdbb632a0"
bottle :unneeded
def install
doc.install Dir["docs/*"]
libexec.install Dir["*"]
bin.write_exec_script Dir["#{libexec}/bin/*"]
(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
def caveats; <<-EOS.undent
To configure tachyon, edit
#{etc}/tacyon/tachyon-env.sh
EOS
end
test do
system bin/"tachyon", "version"
end
end