2010-03-05 17:04:20 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class SpringRoo <Formula
|
2010-07-04 18:19:40 +00:00
|
|
|
url 'http://s3.amazonaws.com/dist.springframework.org/release/ROO/spring-roo-1.0.2.RELEASE.zip'
|
2010-03-05 17:04:20 +00:00
|
|
|
version '1.0.2'
|
|
|
|
homepage 'http://www.springsource.org/roo'
|
|
|
|
md5 '31d4444700311b14388a29139f4ea9bc'
|
|
|
|
|
|
|
|
def install
|
2010-03-05 17:51:20 +00:00
|
|
|
inreplace 'bin/roo.sh', '$ROO_HOME/lib', '$ROO_HOME/java/lib'
|
|
|
|
|
2010-04-07 05:58:35 +00:00
|
|
|
rm_f Dir["bin/*.bat"]
|
2010-03-05 17:51:20 +00:00
|
|
|
prefix.install %w[bin dist docs legal]
|
|
|
|
(prefix+'java').install 'lib'
|
2010-03-05 17:04:20 +00:00
|
|
|
end
|
|
|
|
end
|