2010-02-13 20:14:25 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Grails < Formula
|
2010-02-13 20:14:25 +00:00
|
|
|
homepage 'http://grails.org'
|
2013-09-10 16:22:18 +00:00
|
|
|
url 'http://dist.springframework.org.s3.amazonaws.com/release/GRAILS/grails-2.3.0.zip'
|
|
|
|
sha1 'b1eee67d099424aebe34119193a57b846ae92cd5'
|
2010-02-13 20:14:25 +00:00
|
|
|
|
|
|
|
def install
|
2011-01-23 19:57:10 +00:00
|
|
|
rm_f Dir["bin/*.bat", "bin/cygrails", "*.bat"]
|
2012-11-11 19:20:09 +00:00
|
|
|
prefix.install_metafiles
|
2011-01-23 19:57:10 +00:00
|
|
|
libexec.install Dir['*']
|
2012-02-12 21:51:21 +00:00
|
|
|
bin.install_symlink Dir["#{libexec}/bin/*"]
|
2010-02-13 20:14:25 +00:00
|
|
|
end
|
2011-03-15 13:40:55 +00:00
|
|
|
|
2012-02-12 21:57:05 +00:00
|
|
|
def caveats; <<-EOS.undent
|
2013-06-11 20:33:47 +00:00
|
|
|
The GRAILS_HOME directory is:
|
|
|
|
#{opt_prefix}/libexec
|
2011-03-15 13:40:55 +00:00
|
|
|
EOS
|
|
|
|
end
|
2011-01-23 19:57:10 +00:00
|
|
|
end
|