2010-01-04 23:47:07 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pixman < Formula
|
2010-01-04 23:47:07 +00:00
|
|
|
homepage 'http://www.cairographics.org/'
|
2011-05-15 20:39:55 +00:00
|
|
|
url 'http://cairographics.org/releases/pixman-0.22.0.tar.gz'
|
|
|
|
sha256 '6b7622256e43912fb77fd456b0753f407268d450f5990c8f86e7c6f006e30da0'
|
2010-01-04 23:47:07 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-01-04 23:47:07 +00:00
|
|
|
|
|
|
|
def install
|
2011-03-14 21:39:00 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}",
|
|
|
|
"--enable-gtk=no" # Don't need to build tests
|
2010-01-04 23:47:07 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|