homebrew-core/Formula/fop.rb

21 lines
456 B
Ruby
Raw Normal View History

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"
2009-12-02 09:45:15 +00:00
aka 'apache-fop'
2010-07-06 14:52:37 +00:00
def shim_script target
<<-EOS.undent
#!/bin/bash
#{libexec}/#{target} $*
EOS
end
def install
2010-07-06 14:52:37 +00:00
libexec.install Dir["*"]
(bin+'fop').write shim_script('fop')
end
end