83e3afab2c
Closes Homebrew/homebrew#22445. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
20 lines
500 B
Ruby
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
|