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' if MACOS_VERSION <= 10.6 def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end