91541e97b5
Closes Homebrew/homebrew#49310. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
23 lines
604 B
Ruby
23 lines
604 B
Ruby
class Nifi < Formula
|
|
desc "Easy to use, powerful, and reliable system to process and distribute data."
|
|
homepage "https://nifi.apache.org"
|
|
url "https://www.apache.org/dyn/closer.cgi?path=/nifi/0.5.0/nifi-0.5.0-bin.tar.gz"
|
|
sha256 "6eb36dd8086a2427f5ce1a5fa1f2a4a04517c6027e36cc7ce1fa86411b5ed442"
|
|
|
|
bottle :unneeded
|
|
|
|
depends_on :java => "1.7+"
|
|
|
|
def install
|
|
libexec.install Dir["*"]
|
|
|
|
ENV["NIFI_HOME"] = libexec
|
|
|
|
bin.install libexec/"bin/nifi.sh" => "nifi"
|
|
bin.env_script_all_files libexec/"bin/", :NIFI_HOME => libexec
|
|
end
|
|
|
|
test do
|
|
system bin/"nifi", "status"
|
|
end
|
|
end
|