homebrew-core/Formula/grails.rb
Danny Casady ce4b187b0e grails 2.2.4
Closes Homebrew/homebrew#21546.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-07-30 09:41:53 -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.4.zip'
sha1 'ac9568e71bd98d0459e97278bf56fce06627c23e'
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