From df3d124953092f6fc606982ae63f070ea45585d7 Mon Sep 17 00:00:00 2001 From: Chris Osterwood Date: Mon, 18 Nov 2013 21:58:53 -0500 Subject: batik 1.7 Creation of a formula for Batik SVG renderer, part of the apache.org project. Closes #24472. Signed-off-by: Adam Vandenberg --- Library/Formula/batik.rb | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Library/Formula/batik.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3