mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 03:19:46 -05:00
BaseX is a native XML Database System written in Java. Closes #14838. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
22 lines
426 B
Ruby
22 lines
426 B
Ruby
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
|