homebrew-core/Formula/spring-roo.rb

17 lines
441 B
Ruby
Raw Normal View History

require 'formula'
class SpringRoo <Formula
url 'http://s3.amazonaws.com/dist.springframework.org/release/ROO/spring-roo-1.1.0.RELEASE.zip'
version '1.1.0'
homepage 'http://www.springsource.org/roo'
md5 '691247051da50df9b8dbd6b91ccd11a7'
def install
inreplace 'bin/roo.sh', '$ROO_HOME/lib', '$ROO_HOME/java/lib'
rm_f Dir["bin/*.bat"]
prefix.install %w[bin dist docs legal]
(prefix+'java').install 'lib'
end
end