Some frivalous mods to glib

This commit is contained in:
Max Howell 2009-08-11 01:31:47 +01:00
parent 4d7eef35c6
commit a4e1acad42

View file

@ -5,12 +5,22 @@ class Glib <Formula
@md5='1173688c58b4b62809c83bb07a2cf71a'
@homepage='http://www.gtk.org'
def deps
BinaryDep.new 'pkg-config'
LibraryDep.new 'gettext'
end
def install
# indeed, amazingly, -w causes gcc to emit spurious errors for this package!
ENV.enable_warnings
system "./configure --disable-debug --prefix='#{prefix}' --disable-dependency-tracking"
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--disable-dependency-tracking",
"--disable-rebuilds"
system "make"
system "make install"
(prefix+'share'+'gtk-doc').rmtree
end
end