Skip to content
Browse files

Jing 20091111

Jing is a tool for validating XML documents according to RelaxNG schema.
Manual can be found at: http://www.thaiopensource.com/relaxng/jing.html

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information...
1 parent eab32f4 commit 13556ecb8f9b587d4778bc263ccc27183713450b @trevormunoz trevormunoz committed with adamv Nov 24, 2011
Showing with 18 additions and 0 deletions.
  1. +18 −0 Library/Formula/jing.rb
View
18 Library/Formula/jing.rb
@@ -0,0 +1,18 @@
+require 'formula'
+
+class Jing < Formula
+ homepage 'http://code.google.com/p/jing-trang/'
+ url 'http://jing-trang.googlecode.com/files/jing-20091111.zip'
+ md5 '13eef193921409a1636377d1efbf9843'
+
+ def wrapper target; <<-EOS.undent
+ #!/bin/bash
+ java -jar "#{libexec}/bin/jing.jar" "$@"
+ EOS
+ end
+
+ def install
+ libexec.install Dir["*"]
+ (bin+'jing').write wrapper('jing')
+ end
+end

0 comments on commit 13556ec

Please sign in to comment.
Something went wrong with that request. Please try again.