homebrew-core/Formula/orc-tools.rb

18 lines
537 B
Ruby

class OrcTools < Formula
desc "ORC java command-line tools and utilities"
homepage "https://orc.apache.org/"
url "https://search.maven.org/remotecontent?filepath=org/apache/orc/orc-tools/1.2.3/orc-tools-1.2.3-uber.jar"
sha256 "6969df89f24eab45ed4f1471b0296b7eaef9853e4e76c273e820170b6f18506d"
bottle :unneeded
def install
libexec.install "orc-tools-#{version}-uber.jar"
bin.write_jar_script libexec/"orc-tools-#{version}-uber.jar", "orc-tools"
end
test do
system "#{bin}/orc-tools", "meta", "-h"
end
end