diff options
| author | Jeff Putsch | 2010-11-17 19:16:28 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-06 19:30:12 -0800 |
| commit | 449451b63fa3dd406987ddb2737797d4e50dda29 (patch) | |
| tree | 655f2d3f6e005fbca7701a5e05ce5419cf326abb /Library | |
| parent | 2dcf9d43f7d749bac2f5a489dbdd6f6bd43c8a56 (diff) | |
| download | homebrew-449451b63fa3dd406987ddb2737797d4e50dda29.tar.bz2 | |
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>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/saxon.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Library/Formula/saxon.rb b/Library/Formula/saxon.rb new file mode 100644 index 000000000..0b21fd5e9 --- /dev/null +++ b/Library/Formula/saxon.rb @@ -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 |
