Jackrabbit FileVault CLI 3.1.6
Closes Homebrew/homebrew#29029. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
7dfe437a1e
commit
30a52b9315
1 changed files with 22 additions and 0 deletions
22
Formula/vault-cli.rb
Normal file
22
Formula/vault-cli.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue