2011-09-01 17:22:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ivy < Formula
|
|
|
|
homepage 'http://ant.apache.org/ivy/'
|
2013-02-04 17:50:04 +00:00
|
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=ant/ivy/2.3.0/apache-ivy-2.3.0-bin.tar.gz'
|
|
|
|
sha1 '878fab43ee9c70486a9ecec1ec44a2f034401687'
|
2011-09-01 17:22:46 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install Dir['ivy*']
|
|
|
|
doc.install Dir['doc/*']
|
2013-08-12 23:47:42 +00:00
|
|
|
bin.write_jar_script libexec/"ivy-#{version}.jar", "ivy", "$JAVA_OPTS"
|
2011-09-01 17:22:46 +00:00
|
|
|
end
|
|
|
|
end
|