homebrew-core/Formula/pixman.rb
Pieter Nicolai ca72102139 pixman 0.24.2
update pixman to 0.24.2. This is a stable bug fix release.

Closes Homebrew/homebrew#9683.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-20 11:43:09 -06:00

23 lines
599 B
Ruby

require 'formula'
class Pixman < Formula
homepage 'http://www.cairographics.org/'
url 'http://cairographics.org/releases/pixman-0.24.2.tar.gz'
sha1 'acfc724d8032d3c0677b4466807e120e0c867678'
depends_on 'pkg-config' => :build
def install
if ENV.compiler == :llvm
if MacOS.xcode_version >= "4.1"
ENV.clang
else
ENV.gcc_4_2
end
end
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--enable-gtk=no" # Don't need to build tests
system "make install"
end
end