2010-04-26 16:29:38 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cairo < Formula
|
2010-04-26 16:29:38 +00:00
|
|
|
url 'http://cairographics.org/releases/cairo-1.8.10.tar.gz'
|
|
|
|
homepage 'http://cairographics.org/'
|
|
|
|
md5 'b60a82f405f9400bbfdcf850b1728d25'
|
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-04-26 16:29:38 +00:00
|
|
|
depends_on 'libpng'
|
|
|
|
depends_on 'pixman'
|
|
|
|
|
|
|
|
# Comes with Snow Leopard, but not Leopard
|
2010-04-07 05:58:35 +00:00
|
|
|
keg_only :provided_by_osx
|
2010-04-26 16:29:38 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-x"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|