Created
December 2, 2016 21:37
-
-
Save myersjustinc/bd626554a38955264e3734eb5a1cd674 to your computer and use it in GitHub Desktop.
Homebrew formula for Batik with proper FOP (2.1) transcoder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Batik < Formula | |
desc "Java-based toolkit for SVG images" | |
homepage "https://xmlgraphics.apache.org/batik/" | |
url "https://associatedpress-datateam-automation.s3.amazonaws.com/misc/batik-bin-1.8.tar.gz" | |
sha256 "424c59245471d1134c45d549c5cd995fa6444fa2c0f429cee26c193c049c5e21" | |
bottle :unneeded | |
def install | |
libexec.install "lib", Dir["*.jar"] | |
bin.write_jar_script libexec/"batik-rasterizer-#{version}.jar", "rasterizer" | |
bin.write_jar_script libexec/"batik-#{version}.jar", "batik" | |
bin.write_jar_script libexec/"batik-ttf2svg-#{version}.jar", "ttf2svg" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment