7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
21 lines
522 B
Ruby
21 lines
522 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'
|
|
depends_on 'libpng'
|
|
depends_on 'pixman'
|
|
|
|
# Comes with Snow Leopard, but not Leopard
|
|
keg_only :provided_by_osx
|
|
|
|
def install
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--with-x"
|
|
system "make install"
|
|
end
|
|
end
|