homebrew-core/Formula/fop.rb
Claudio Ortolina 0f23b31eab fop: use apache.org binary
Signed-off-by: Claudio Ortolina <claudio@jumpzero.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-20 07:57:05 -07:00

19 lines
422 B
Ruby

require 'formula'
class Fop < Formula
homepage "http://xmlgraphics.apache.org/fop/index.html"
url "http://archive.apache.org/dist/xmlgraphics/fop/binaries/fop-1.0-bin.tar.gz"
md5 "3186f93a314bdcb710bd7cb02d80404c"
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