aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/avro-tools.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/avro-tools.rb b/Library/Formula/avro-tools.rb
new file mode 100644
index 000000000..4fd763976
--- /dev/null
+++ b/Library/Formula/avro-tools.rb
@@ -0,0 +1,12 @@
+require "formula"
+
+class AvroTools < Formula
+ homepage "http://avro.apache.org/"
+ url "http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.6/java/avro-tools-1.7.6.jar"
+ sha1 "56ebab491e9dce5b1812c3867a8385cd636bb90a"
+
+ def install
+ libexec.install "avro-tools-#{version}.jar"
+ bin.write_jar_script libexec/"avro-tools-#{version}.jar", "avro-tools"
+ end
+end