26 lines
855 B
Ruby
26 lines
855 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.2.0/apache-storm-2.2.0.tar.gz"
|
|
mirror "https://archive.apache.org/dist/storm/apache-storm-2.2.0/apache-storm-2.2.0.tar.gz"
|
|
sha256 "f621163f349a8e85130bc3d2fbb34e3b08f9c039ccac5474f3724e47a3a38675"
|
|
license "Apache-2.0"
|
|
|
|
bottle do
|
|
sha256 cellar: :any_skip_relocation, all: "0b7ee5cb1ed1a1454bd11d0c62f0953214d689fb904b7abc14bc92ac9462f096"
|
|
end
|
|
|
|
depends_on "openjdk"
|
|
|
|
conflicts_with "stormssh", because: "both install 'storm' binary"
|
|
|
|
def install
|
|
libexec.install Dir["*"]
|
|
(bin/"storm").write_env_script libexec/"bin/storm", Language::Java.overridable_java_home_env
|
|
end
|
|
|
|
test do
|
|
system bin/"storm", "version"
|
|
end
|
|
end
|