aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/liquibase.rb26
1 files changed, 26 insertions, 0 deletions
diff --git a/Library/Formula/liquibase.rb b/Library/Formula/liquibase.rb
new file mode 100644
index 000000000..83ba0a1f7
--- /dev/null
+++ b/Library/Formula/liquibase.rb
@@ -0,0 +1,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