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:
parent
20652e9de0
commit
e5a68d770d
1 changed files with 21 additions and 0 deletions
21
Formula/basex.rb
Normal file
21
Formula/basex.rb
Normal 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
|
Loading…
Reference in a new issue