homebrew-core/Formula/maven.rb

19 lines
464 B
Ruby
Raw Normal View History

require 'formula'
class Maven <Formula
url 'http://www.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.tar.gz'
2010-04-30 16:30:24 +00:00
head 'http://www.apache.org/dist/maven/binaries/apache-maven-3.0-beta-1-bin.tar.gz'
homepage 'http://maven.apache.org/'
2010-04-30 16:30:24 +00:00
if ARGV.include? "--HEAD"
md5 '82d43745cf2f2d1d939f1139a09d6654'
else
md5 '3f829ed854cbacdaca8f809e4954c916'
end
def install
rm_f Dir["bin/*.bat"]
prefix.install %w[bin conf boot lib]
end
end