homebrew-core/Formula/basex.rb
Michael e5a68d770d 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>
2012-09-12 20:49:21 -07:00

21 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