homebrew-core/Formula/liquibase.rb
2012-02-12 20:08:59 -08:00

24 lines
522 B
Ruby

require 'formula'
class Liquibase < Formula
homepage 'http://liquibase.org'
url 'https://github.com/downloads/liquibase/liquibase/liquibase-2.0.3-bin.tar.gz'
md5 '460a4bba1fd6a9c4bd44016f3af9728d'
def install
rm_f Dir['*.bat']
chmod 0755, Dir['liquibase']
prefix.install "LICENSE.txt"
libexec.install Dir['*']
bin.install_symlink libexec+'liquibase'
end
def caveats
<<-EOS.undent
You should set the environment variable LIQUIBASE_HOME to
#{libexec}
EOS
end
end