BaseX 7.3

BaseX is a native XML Database System written in Java.

Closes Homebrew/homebrew#14838.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Michael 2012-09-10 19:06:17 +02:00 committed by Adam Vandenberg
parent 20652e9de0
commit e5a68d770d

21
Formula/basex.rb Normal file
View file

@ -0,0 +1,21 @@
require 'formula'
class Basex < Formula
homepage 'http://basex.org'
url 'http://files.basex.org/releases/7.3/BaseX73.zip'
version '7.3'
sha1 'f996b953c08a3a0bdce0985e0f939d4854216413'
def install
rm Dir['bin/*.bat']
rm_rf "repo"
rm_rf "data"
rm_rf "etc"
libexec.install Dir['*']
bin.install_symlink Dir["#{libexec}/bin/*"]
end
def test
system "#{bin}/basex", "'1 to 10'"
end
end