homebrew-core/Formula/cairomm.rb
Jack Nagel c736a9bc42 cairo: don't allow opting-out of glib dep
Lots of stuff in Homebrew needs this, probably more than we are aware
of, and the vast majority of people installing cairo will have glib
anyway.
2013-12-09 15:10:40 -06:00

20 lines
573 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'
option 'without-x', 'Build without X11 support'
depends_on 'pkg-config' => :build
depends_on 'libsigc++'
depends_on 'cairo'
depends_on :x11 unless build.include? 'without-x'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end