homebrew-core/Formula/liquibase.rb
Jasper de Vries 5a6bd099bd liquibase 3.0.7
Closes Homebrew/homebrew#25073.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-12-09 08:06:15 -08:00

28 lines
606 B
Ruby

require 'formula'
class Liquibase < Formula
homepage 'http://liquibase.org'
url 'http://downloads.sourceforge.net/project/liquibase/Liquibase%20Core/liquibase-3.0.7-bin.tar.gz'
sha1 'f9c56e4487aab93f21793740c6d7760c7a1fb4ff'
def install
rm_f Dir['*.bat']
chmod 0755, Dir['liquibase']
prefix.install_metafiles
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
test do
system "#{bin}/liquibase", "--version"
end
end