homebrew-core/Formula/cairo.rb
2011-03-15 22:04:38 -07:00

20 lines
558 B
Ruby

require 'formula'
class Cairo < Formula
url 'http://cairographics.org/releases/cairo-1.8.10.tar.gz'
homepage 'http://cairographics.org/'
md5 'b60a82f405f9400bbfdcf850b1728d25'
depends_on 'pkg-config' => :build
depends_on 'pixman'
keg_only :provided_by_osx,
"The Cairo provided by Leopard is too old for newer software to link against."
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--with-x"
system "make install"
end
end