2011-08-20 11:29:41 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Liquibase < Formula
|
|
|
|
homepage 'http://liquibase.org'
|
2012-02-13 01:15:53 +00:00
|
|
|
url 'https://github.com/downloads/liquibase/liquibase/liquibase-2.0.3-bin.tar.gz'
|
2011-10-11 02:30:05 +00:00
|
|
|
md5 '460a4bba1fd6a9c4bd44016f3af9728d'
|
2011-08-20 11:29:41 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
rm_f Dir['*.bat']
|
|
|
|
|
|
|
|
chmod 0755, Dir['liquibase']
|
|
|
|
|
|
|
|
prefix.install "LICENSE.txt"
|
|
|
|
libexec.install Dir['*']
|
2012-02-13 01:15:53 +00:00
|
|
|
bin.install_symlink libexec+'liquibase'
|
2011-08-20 11:29:41 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def caveats
|
|
|
|
<<-EOS.undent
|
|
|
|
You should set the environment variable LIQUIBASE_HOME to
|
|
|
|
#{libexec}
|
|
|
|
EOS
|
|
|
|
end
|
|
|
|
end
|