homebrew-core/Formula/gtk-doc.rb
Jack Nagel 1577af0372 Revert "Use download.gnome.org instead of ftp.gnome.org"
This reverts commit 90575346225fd0c16475ad74ee53b37b62715f0c.

Closes Homebrew/homebrew#28026.
2014-04-03 09:29:23 -05:00

27 lines
883 B
Ruby

require 'formula'
class GtkDoc < Formula
homepage 'http://www.gtk.org/gtk-doc/'
url 'http://ftp.gnome.org/pub/GNOME/sources/gtk-doc/1.18/gtk-doc-1.18.tar.bz2'
sha256 'a634d2e93d70468237033c06a17c97f29cf71a35ac5cc01c016324c965d42f73'
depends_on 'pkg-config' => :build
depends_on 'gnome-doc-utils' => :build
depends_on 'gettext'
depends_on 'glib'
depends_on 'docbook'
depends_on 'docbook-xsl'
depends_on 'libxml2' => 'with-python'
def install
ENV.append_path 'PYTHONPATH', HOMEBREW_PREFIX/"opt/libxml2/lib/python2.7/site-packages"
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}",
"--disable-scrollkeeper",
"--with-xml-catalog=#{etc}/xml/catalog"
system "make"
system "make install"
end
end