2018-01-29 12:45:59 +00:00
|
|
|
class Alluxio < Formula
|
|
|
|
desc "Open Source Memory Speed Virtual Distributed Storage"
|
|
|
|
homepage "https://www.alluxio.org/"
|
2018-06-26 06:04:46 +00:00
|
|
|
url "http://downloads.alluxio.org/downloads/files/1.7.1/alluxio-1.7.1-bin.tar.gz"
|
|
|
|
sha256 "40f7357663b2bdf9e15345ef6cd79ef9c669635e7538725b199cb75ee2af4fa9"
|
2018-01-29 12:45:59 +00:00
|
|
|
|
|
|
|
bottle :unneeded
|
|
|
|
|
|
|
|
def install
|
|
|
|
doc.install Dir["docs/*"]
|
|
|
|
libexec.install Dir["*"]
|
|
|
|
bin.write_exec_script Dir["#{libexec}/bin/*"]
|
|
|
|
|
|
|
|
(etc/"alluxio").install libexec/"conf/alluxio-env.sh.template" => "alluxio-env.sh"
|
|
|
|
ln_sf "#{etc}/alluxio/alluxio-env.sh", "#{libexec}/conf/alluxio-env.sh"
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<~EOS
|
|
|
|
To configure alluxio, edit
|
|
|
|
#{etc}/alluxio/alluxio-env.sh
|
2018-06-09 08:27:43 +00:00
|
|
|
EOS
|
2018-01-29 12:45:59 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system bin/"alluxio", "version"
|
|
|
|
end
|
|
|
|
end
|