homebrew-core/Formula/pixman.rb
Pieter Nicolai db300e92f3 pixman: update to 0.24.0
Update pixman to new stable release 0.24.0. Changelog see :
http://permalink.gmane.org/gmane.comp.freedesktop.xorg.announce/1482

Closes Homebrew/homebrew#8621.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-11-23 09:14:50 -08:00

23 lines
613 B
Ruby

require 'formula'
class Pixman < Formula
homepage 'http://www.cairographics.org/'
url 'http://cairographics.org/releases/pixman-0.24.0.tar.gz'
sha1 '5459916d979e3db93aac45ffda2412cd0500f393'
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