aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/batik.rb
blob: e0497c5483094ceeebdd95f7ab5d24353e0ee47e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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