homebrew-core/Formula/ivy.rb
nibbles 2bits a9ac9af3f9 ivy 2.3.0-rc1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-24 10:46:46 -07:00

18 lines
462 B
Ruby

require 'formula'
class Ivy < Formula
homepage 'http://ant.apache.org/ivy/'
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'
version '2.3.0-rc1'
def install
libexec.install Dir['ivy*']
doc.install Dir['doc/*']
(bin+'ivy').write <<-EOS.undent
#!/bin/sh
java $JAVA_OPTS -jar "#{libexec}/ivy-#{version}.jar" "$@"
EOS
end
end