homebrew-core/Formula/grails.rb
Stefan Glase 1efd28d270 grails 2.2.3
Closes Homebrew/homebrew#20703.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-23 09:12:12 -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.3.zip'
sha1 '55c18cd7fe3128648c5928cd60c562b5a0abdcf8'
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