blob: cf33505eb160bef3e33116f4a3654e7c2835524e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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/apache-ivy-2.3.0-bin.tar.gz'
sha1 '878fab43ee9c70486a9ecec1ec44a2f034401687'
devel do
url 'http://www.apache.org/dyn/closer.cgi?path=ant/ivy/2.4.0-rc1/apache-ivy-2.4.0-rc1-bin.tar.gz'
sha1 '69d6111a4ef2fa449d42d89c09f23456e6a6c0d9'
end
def install
libexec.install Dir['ivy*']
doc.install Dir['doc/*']
bin.write_jar_script libexec/"ivy-#{version}.jar", "ivy", "$JAVA_OPTS"
end
end
|