homebrew-core/Formula/ant.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

15 lines
407 B
Ruby

require 'formula'
# TODO common aliases: 'apache ant'
class Ant <Formula
@url='http://www.ibiblio.org/pub/mirrors/apache/ant/binaries/apache-ant-1.7.1-bin.tar.gz'
@homepage='http://ant.apache.org/'
@md5='cc5777c57c4e8269be5f3d1dc515301c'
def install
prefix.install Dir['*']
Dir['bin/*.cmd'].each { |file| File.unlink file }
Dir['bin/*.bat'].each { |file| File.unlink file }
end
end