2011-12-23 06:17:50 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Griffon < Formula
|
|
|
|
homepage 'http://griffon.codehaus.org/'
|
2014-03-05 01:50:52 +00:00
|
|
|
url 'http://dl.bintray.com/content/aalmiray/Griffon/griffon-1.5.0-bin.tgz'
|
|
|
|
sha1 'de28b792c37cf103b5745f2f323403ec6990c58a'
|
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
|