2011-12-23 06:17:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Griffon < Formula
|
|
|
|
homepage 'http://griffon.codehaus.org/'
|
2013-10-13 11:14:01 +00:00
|
|
|
url 'http://dl.bintray.com/content/aalmiray/Griffon/griffon-1.4.0-bin.tgz'
|
|
|
|
sha1 'a2cc25cf95388739929ad09800be9568ac02bab2'
|
2011-12-23 06:17:50 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
rm_f Dir["bin/*.bat"]
|
|
|
|
|
2012-11-11 19:20:09 +00:00
|
|
|
prefix.install_metafiles
|
2011-12-23 06:17:50 +00:00
|
|
|
libexec.install Dir['*']
|
|
|
|
bin.install_symlink Dir["#{libexec}/bin/*"]
|
|
|
|
end
|
|
|
|
|
|
|
|
def caveats; <<-EOS.undent
|
2012-11-25 19:42:57 +00:00
|
|
|
You should set the environment variable GRIFFON_HOME to:
|
2011-12-23 06:17:50 +00:00
|
|
|
#{libexec}
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|