homebrew-core/Formula/grails.rb
Danny Casady 83e3afab2c grails 2.3.0
Closes Homebrew/homebrew#22445.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-09-10 17:24:42 +01: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.3.0.zip'
sha1 'b1eee67d099424aebe34119193a57b846ae92cd5'
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