blob: 83ba0a1f7565bc9d5c666365dd238fdee5bdb03d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
require 'formula'
class Liquibase < Formula
url 'http://liquibase.org/liquibase-2.0.1-bin.tar.gz'
homepage 'http://liquibase.org'
md5 '5dcceb7b3b5d39c4c39479fce6da2270'
def install
rm_f Dir['*.bat']
chmod 0755, Dir['liquibase']
prefix.install "LICENSE.txt"
libexec.install Dir['*']
bin.mkpath
ln_s libexec+('liquibase'), bin
end
def caveats
<<-EOS.undent
You should set the environment variable LIQUIBASE_HOME to
#{libexec}
EOS
end
end
|