homebrew-core/Formula/spring-roo.rb

17 lines
441 B
Ruby
Raw Normal View History

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'
version '1.0.2'
homepage 'http://www.springsource.org/roo'
md5 '31d4444700311b14388a29139f4ea9bc'
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