18 lines
464 B
Ruby
18 lines
464 B
Ruby
require 'formula'
|
|
|
|
class Maven <Formula
|
|
url 'http://www.apache.org/dist/maven/binaries/apache-maven-2.2.1-bin.tar.gz'
|
|
head 'http://www.apache.org/dist/maven/binaries/apache-maven-3.0-beta-1-bin.tar.gz'
|
|
homepage 'http://maven.apache.org/'
|
|
|
|
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
|