homebrew-core/Formula/gv.rb
Rui Pereira e679ca1d03 New formula: gv 3.7.2
GNU gv allows to view and navigate through PostScript and PDF documents
on an X display by providing a graphical user interface for the
Ghostscript interpreter.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-15 12:52:14 -05:00

24 lines
624 B
Ruby

require 'formula'
class Gv < Formula
url 'http://ftpmirror.gnu.org/gv/gv-3.7.2.tar.gz'
homepage 'http://www.gnu.org/s/gv/'
md5 'eb47d465755b7291870af66431c6f2e1'
depends_on 'ghostscript'
depends_on 'xaw3d'
skip_clean 'share/gv/safe-gs-workdir'
def patches
# apply MacPorts typedef patch
{ :p0 => "https://trac.macports.org/export/83941/trunk/dports/print/gv/files/patch-src-callbacks.c.diff" }
end
def install
ENV.x11
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}", "--enable-SIGCHLD-fallback"
system "make install"
end
end