mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-12-01 04:59:47 -05:00
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:
1 parent
2dcf9d43f7
commit
449451b63f
1 file changed
+20
@@ -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
|
||||
Reference in new issue
Block a user