2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-11 20:52:51 +00:00
|
|
|
|
|
|
|
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]
|
2009-09-24 18:24:08 +00:00
|
|
|
FileUtils.rm_f Dir["#{bin}/*.bat"]
|
2009-09-11 20:52:51 +00:00
|
|
|
end
|
|
|
|
end
|