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
|
|
|
homepage 'http://cairographics.org/'
|
2011-03-26 23:14:00 +00:00
|
|
|
url 'http://www.cairographics.org/releases/cairo-1.10.2.tar.gz'
|
2011-03-28 15:53:37 +00:00
|
|
|
sha1 'ccce5ae03f99c505db97c286a0c9a90a926d3c6e'
|
2010-04-26 16:29:38 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-04-26 16:29:38 +00:00
|
|
|
depends_on 'pixman'
|
|
|
|
|
2011-03-16 05:01:31 +00:00
|
|
|
keg_only :provided_by_osx,
|
|
|
|
"The Cairo provided by Leopard is too old for newer software to link against."
|
2010-04-26 16:29:38 +00:00
|
|
|
|
2011-05-10 21:24:49 +00:00
|
|
|
fails_with_llvm "Gives an LLVM ERROR with Xcode 4 on some CPUs"
|
|
|
|
|
2010-04-26 16:29:38 +00:00
|
|
|
def install
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--with-x"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|