diff options
Diffstat (limited to 'Library/Formula/cairo.rb')
| -rw-r--r-- | Library/Formula/cairo.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/cairo.rb b/Library/Formula/cairo.rb new file mode 100644 index 000000000..9942f2e4a --- /dev/null +++ b/Library/Formula/cairo.rb @@ -0,0 +1,23 @@ +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' + depends_on 'libpng' + depends_on 'pixman' + + # Comes with Snow Leopard, but not Leopard + def keg_only? + :provied_by_osx + end + + def install + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--with-x" + system "make install" + end +end |
