homebrew-core/Formula/grails.rb
2013-06-11 13:39:10 -07:00

20 lines
500 B
Ruby

require 'formula'
class Grails < Formula
homepage 'http://grails.org'
url 'http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.2.2.zip'
sha1 '09a0ee9791cd679203016022d20ce7163a5465b1'
def install
rm_f Dir["bin/*.bat", "bin/cygrails", "*.bat"]
prefix.install_metafiles
libexec.install Dir['*']
bin.install_symlink Dir["#{libexec}/bin/*"]
end
def caveats; <<-EOS.undent
The GRAILS_HOME directory is:
#{opt_prefix}/libexec
EOS
end
end