2011-09-13 13:03:19 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Gv < Formula
|
|
|
|
homepage 'http://www.gnu.org/s/gv/'
|
2013-03-17 20:21:52 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/gv/gv-3.7.4.tar.gz'
|
|
|
|
mirror 'http://ftp.gnu.org/gnu/gv/gv-3.7.4.tar.gz'
|
|
|
|
sha1 'd5bc11a37136dff69248f943a632544a4036b63f'
|
2011-09-13 13:03:19 +00:00
|
|
|
|
2013-01-31 15:05:38 +00:00
|
|
|
depends_on 'ghostscript' => 'with-x11'
|
2012-06-07 07:55:54 +00:00
|
|
|
depends_on :x11 => '2.7.2'
|
2011-09-13 13:03:19 +00:00
|
|
|
|
|
|
|
skip_clean 'share/gv/safe-gs-workdir'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
2013-03-17 20:21:52 +00:00
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-SIGCHLD-fallback"
|
2011-09-13 13:03:19 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|