homebrew-core/Formula/cairomm.rb
nibbles 2bits f0356e7f31 cairomm: add depends_on :x11
Cairomm-1.10.0 stopped linking correctly and started missing
includes after the Homebrew-0.9.2, the cairo, and the pixman
changes.  Add `depends_on :x11` and fix all the problems.

Tested on Lion using clang and llvm from XCode-4.3.3.

Fixes # 13313

Closes Homebrew/homebrew#13333.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-10 23:48:41 -05:00

18 lines
488 B
Ruby

require 'formula'
class Cairomm < Formula
homepage 'http://cairographics.org/cairomm/'
url 'http://cairographics.org/releases/cairomm-1.10.0.tar.gz'
sha256 '068d96c43eae7b0a3d98648cbfc6fbd16acc385858e9ba6d37b5a47e4dba398f'
depends_on 'pkg-config' => :build
depends_on 'libsigc++'
depends_on 'cairo'
depends_on :x11
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end