14c79fe70b
As reported in 10422, gv would not compile on Lion and possibly SL due to problems building Homebrew's `xaw3d`. That library is a part of XQuartz now. * Upgrade `gv` to version 3.7.3.90 from `alpha.gnu.org` because this release is specifically fixed to support the new `libxawd`. * Note in the comments to switch back to `ftp.gnu.org` at v3.7.4. * Change the dep to a Requirement for XQuartz >= 2.7.2. Fixes Homebrew/homebrew#10422 and Homebrew/homebrew#12596 Closes Homebrew/homebrew#12637. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
21 lines
601 B
Ruby
21 lines
601 B
Ruby
require 'formula'
|
|
|
|
class Gv < Formula
|
|
homepage 'http://www.gnu.org/s/gv/'
|
|
url 'ftp://alpha.gnu.org/gnu/gv/gv-3.7.3.90.tar.gz'
|
|
sha1 'd7820c770e595c93b5fe1ea50776ae11d0decfac'
|
|
|
|
# Note: Switch back to ftp://ftp.gnu.org/gnu/gv/ @ gv-3.7.4.
|
|
# This gv version from alpha was released to support libxaw3d >= 1.6.1
|
|
|
|
depends_on 'ghostscript'
|
|
depends_on :x11 => '2.7.2'
|
|
|
|
skip_clean 'share/gv/safe-gs-workdir'
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}", "--enable-SIGCHLD-fallback"
|
|
system "make install"
|
|
end
|
|
end
|