From 30a52b9315d3bc937a53adaa014d2b4f983cda09 Mon Sep 17 00:00:00 2001 From: Jon Barber Date: Wed, 7 May 2014 11:50:51 +0100 Subject: [PATCH] Jackrabbit FileVault CLI 3.1.6 Closes Homebrew/homebrew#29029. Signed-off-by: Adam Vandenberg --- Formula/vault-cli.rb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Formula/vault-cli.rb diff --git a/Formula/vault-cli.rb b/Formula/vault-cli.rb new file mode 100644 index 0000000000..4d0e50c84b --- /dev/null +++ b/Formula/vault-cli.rb @@ -0,0 +1,22 @@ +require "formula" + +class VaultCli < Formula + homepage "http://jackrabbit.apache.org/filevault/index.html" + url "http://search.maven.org/remotecontent?filepath=org/apache/jackrabbit/vault/vault-cli/3.1.6/vault-cli-3.1.6-bin.tar.gz" + sha1 "3dd2c596ce8936c983e95b6cc868885f51b02992" + + def install + # Remove windows files + rm_f Dir["bin/*.bat"] + + prefix.install_metafiles + libexec.install Dir['*'] + bin.install_symlink Dir["#{libexec}/bin/*"] + end + + test do + # Bad test, but we're limited without a Jackrabbit repo to speak to... + system "#{bin}/vlt", '--version' + end + +end