homebrew-core/Formula/batik.rb
Dominyk Tiller e298c4350f batik 1.8
Somewhat weirdly, the documentation is completely missing from this
release, in both the tarball and zip.

Release to fix CVE-2015-0250, anyhow.

Closes Homebrew/homebrew#37795.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-03-17 15:45:00 +00:00

14 lines
558 B
Ruby

class Batik < Formula
homepage "https://xmlgraphics.apache.org/batik/"
url "https://www.apache.org/dist/xmlgraphics/batik/binaries/batik-bin-1.8.zip"
sha256 "d1e5d6c08ef769bb53289250f17ba2d8b18a803d2a82aa082c8bbfae07c648f0"
def install
libexec.install "lib", Dir["*.jar"]
prefix.install_metafiles
bin.write_jar_script libexec/"batik-rasterizer-#{version}.jar", "batik-rasterizer"
bin.write_jar_script libexec/"batik-#{version}.jar", "batik"
bin.write_jar_script libexec/"batik-ttf2svg-#{version}.jar", "batik-ttf2svg"
end
end