2011-09-01 17:22:46 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Ivy < Formula
|
|
|
|
homepage 'http://ant.apache.org/ivy/'
|
2012-06-16 11:28:26 +00:00
|
|
|
url 'http://www.apache.org/dyn/closer.cgi?path=ant/ivy/2.3.0-rc1/apache-ivy-2.3.0-rc1-bin.tar.gz'
|
|
|
|
sha1 '6cdb7b8131ca3b13b0b6b43988f3ab92da2de6e7'
|
2011-09-01 17:22:46 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
libexec.install Dir['ivy*']
|
|
|
|
doc.install Dir['doc/*']
|
2012-08-07 18:20:52 +00:00
|
|
|
bin.write_jar_script libexec/'ivy-2.3.0-rc1.jar', 'ivy', '$JAVA_OPTS'
|
2011-09-01 17:22:46 +00:00
|
|
|
end
|
|
|
|
end
|