Skip to content
This repository has been archived by the owner on Jan 4, 2022. It is now read-only.

Commit

Permalink
Trang 20091111
Browse files Browse the repository at this point in the history
Trang is a schema converter for XML. Trang can convert between
RelaxNG (XML syntax), RelaxNG Compact, XML DTDs, W3C XML
Schemas.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
  • Loading branch information
trevormunoz authored and adamv committed Mar 17, 2012
1 parent bc2947a commit eab32f4
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Library/Formula/trang.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
require 'formula'

class Trang < Formula
homepage 'http://code.google.com/p/jing-trang/'
url 'http://jing-trang.googlecode.com/files/trang-20091111.zip'
md5 '9d31799b948c350850eb9dd14e5b832d'

def wrapper target; <<-EOS.undent
#!/bin/bash
java -jar #{libexec}/trang.jar "$@"
EOS
end

def install
libexec.install Dir["*"]
(bin+'trang').write wrapper('trang')
end
end

0 comments on commit eab32f4

Please sign in to comment.