2014-03-18 21:06:48 +00:00
|
|
|
require "formula"
|
|
|
|
|
|
|
|
class AvroTools < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Avro command-line tools and utilities"
|
2014-03-18 21:06:48 +00:00
|
|
|
homepage "http://avro.apache.org/"
|
2014-08-22 22:01:07 +00:00
|
|
|
url "http://www.apache.org/dyn/closer.cgi?path=avro/avro-1.7.7/java/avro-tools-1.7.7.jar"
|
|
|
|
sha1 "a2c493c897583892b0423f0c9c732c242cd8816d"
|
2014-03-18 21:06:48 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install "avro-tools-#{version}.jar"
|
|
|
|
bin.write_jar_script libexec/"avro-tools-#{version}.jar", "avro-tools"
|
|
|
|
end
|
|
|
|
end
|