homebrew-core/Formula/liquibase.rb

25 lines
546 B
Ruby
Raw Normal View History

require 'formula'
class Liquibase < Formula
homepage 'http://liquibase.org'
url 'http://downloads.sourceforge.net/project/liquibase/Liquibase%20Core/liquibase-3.0.1-bin.tar.gz'
sha1 'a84ee01dc3987d8a710b56baca8e6ebe2e837c75'
def install
rm_f Dir['*.bat']
chmod 0755, Dir['liquibase']
2012-11-11 19:20:09 +00:00
prefix.install_metafiles
libexec.install Dir['*']
2012-02-13 01:15:53 +00:00
bin.install_symlink libexec+'liquibase'
end
def caveats
<<-EOS.undent
You should set the environment variable LIQUIBASE_HOME to
#{libexec}
EOS
end
end