New Formula: saxon.rb

Open Source SAXON XSLT processor developed by Michael Kay of Saxonica Limited.

It provides implementations of XSLT 2.0, XQuery 1.0, and XPath 2.0 at the basic level of conformance defined by W3C.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Jeff Putsch authored and Adam Vandenberg committed 2011-03-06 19:30:12 -08:00
1 parent 2dcf9d43f7
commit 449451b63f
1 file changed
+20
+20
View File
@@ -0,0 +1,20 @@
require 'formula'
class Saxon <Formula
homepage "http://saxon.sourceforge.net"
url "http://downloads.sourceforge.net/project/saxon/Saxon-HE/9.3/saxonhe9-3-0-1j.zip"
md5 "1783d5aff6ddae1b56f04a4005371ea6"
version "9.3.0.1"
def shim_script target
<<-EOS.undent
#!/bin/bash
java -jar #{libexec}/saxon9he.jar "$@"
EOS
end
def install
libexec.install Dir["*"]
(bin+'saxon').write shim_script('saxon')
end
end