homebrew-core/Formula/storm.rb

21 lines
646 B
Ruby

class Storm < Formula
desc "Distributed realtime computation system to process data streams"
homepage "https://storm.apache.org"
url "https://www.apache.org/dyn/closer.lua?path=storm/apache-storm-2.1.0/apache-storm-2.1.0.tar.gz"
mirror "https://archive.apache.org/dist/storm/apache-storm-2.1.0/apache-storm-2.1.0.tar.gz"
sha256 "e279a495dda42af7d9051543989f74a1435a5bda53e795a1de4a1def32027fc4"
bottle :unneeded
conflicts_with "stormssh", :because => "both install 'storm' binary"
def install
libexec.install Dir["*"]
bin.install_symlink libexec/"bin/storm"
end
test do
system bin/"storm", "version"
end
end