diff options
| author | Trevor Muñoz | 2011-11-24 19:12:35 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-16 21:56:28 -0700 |
| commit | 13556ecb8f9b587d4778bc263ccc27183713450b (patch) | |
| tree | 0c427ee5b19f09358281336b445521b65dbecbd6 /Library/Formula/jing.rb | |
| parent | eab32f4e3f9962b32910769aab563ae4b1d04ddc (diff) | |
| download | homebrew-13556ecb8f9b587d4778bc263ccc27183713450b.tar.bz2 | |
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>
Diffstat (limited to 'Library/Formula/jing.rb')
| -rw-r--r-- | Library/Formula/jing.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/jing.rb b/Library/Formula/jing.rb new file mode 100644 index 000000000..1c0479cc5 --- /dev/null +++ b/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 |
