From 0a26133a0098d89b66c7fbfb214a3336c1bf2b29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20H=C3=A4usler?= Date: Fri, 20 Jan 2017 18:44:22 +0100 Subject: [PATCH] orc-tools 1.2.3 (new formula) orc-tools 1.2.3 Closes #9108. Signed-off-by: Alex Dunn --- Formula/orc-tools.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Formula/orc-tools.rb diff --git a/Formula/orc-tools.rb b/Formula/orc-tools.rb new file mode 100644 index 00000000000..b486c25dd66 --- /dev/null +++ b/Formula/orc-tools.rb @@ -0,0 +1,18 @@ +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" + version "1.2.3" + 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