homebrew-core/Formula/libglademm.rb
nibbles 2bits 8a33c18d3a libglademm: add depends_on :x11
libglademm will fail to compile in HB-0.9.2 unless is has a new
dep on :x11 to help it find its components. Add a `depends_on :x11`
Tested on Lion with clang and llvm from XCode-4.3.3.

Closes Homebrew/homebrew#13469.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-19 03:05:22 -05:00

19 lines
506 B
Ruby

require 'formula'
class Libglademm < Formula
homepage 'http://gnome.org'
url 'http://ftp.gnome.org/pub/GNOME/sources/libglademm/2.6/libglademm-2.6.7.tar.bz2'
md5 'f9ca5b67f6c551ea98790ab5f21c19d0'
depends_on 'pkg-config' => :build
depends_on 'gtkmm'
depends_on 'libglade'
depends_on :x11
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
end
end