aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorChris Osterwood2013-11-18 21:58:53 -0500
committerAdam Vandenberg2013-11-19 07:24:22 -0800
commitdf3d124953092f6fc606982ae63f070ea45585d7 (patch)
treefc81ff6306f2a37a03b584c0b5001e31118f08ff /Library
parent63007d6aae27c1016dd4779b011a6698d149b21c (diff)
downloadhomebrew-df3d124953092f6fc606982ae63f070ea45585d7.tar.bz2
batik 1.7
Creation of a formula for Batik SVG renderer, part of the apache.org project. Closes #24472. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/batik.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/batik.rb b/Library/Formula/batik.rb
new file mode 100644
index 000000000..e0497c548
--- /dev/null
+++ b/Library/Formula/batik.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Batik < Formula
+ homepage 'https://xmlgraphics.apache.org/batik/'
+ url 'http://www.us.apache.org/dist/xmlgraphics/batik/batik-1.7.zip'
+ sha1 '69d974ab0a4e13cbdd649fa96785776563b73fcf'
+
+ def install
+ doc.install Dir['docs/*']
+ libexec.install 'lib', Dir['*.jar']
+
+ bin.write_jar_script libexec/'batik-rasterizer.jar', 'batik-rasterizer'
+ bin.write_jar_script libexec/'batik.jar', 'batik'
+ end
+end