homebrew-core/Formula/fop.rb
2010-07-06 07:52:37 -07:00

20 lines
456 B
Ruby

require 'formula'
class Fop <Formula
homepage "http://xmlgraphics.apache.org/fop/index.html"
url "http://mirrors.ibiblio.org/pub/mirrors/apache/xmlgraphics/fop/binaries/fop-0.95-bin.tar.gz"
md5 "7af50bf58924dd22d71d22d8ad90b268"
aka 'apache-fop'
def shim_script target
<<-EOS.undent
#!/bin/bash
#{libexec}/#{target} $*
EOS
end
def install
libexec.install Dir["*"]
(bin+'fop').write shim_script('fop')
end
end