homebrew-core/Formula/maven.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

13 lines
335 B
Ruby

require 'formula'
class Maven <Formula
@url='http://apache.mirrors.timporter.net/maven/binaries/apache-maven-2.2.1-bin.tar.gz'
@version="2.2.1"
@homepage='http://maven.apache.org/'
@md5='3f829ed854cbacdaca8f809e4954c916'
def install
prefix.install %w[bin conf boot lib]
FileUtils.rm_f Dir["#{bin}/*.bat"]
end
end