Some frivalous mods to glib
This commit is contained in:
parent
4d7eef35c6
commit
a4e1acad42
1 changed files with 11 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue