homebrew-core/Formula/pixman.rb
Dominick Ng d7e1b2916d pango, pixman, graphviz: Fixes for Lion PDF output
Related issue on MacPorts:
  https://trac.macports.org/ticket/30370

Fixes Homebrew/homebrew#6631.
Fixes Homebrew/homebrew#7140.
Fixes Homebrew/homebrew#7463.
Closes Homebrew/homebrew#7523.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2011-09-14 03:41:36 -07:00

23 lines
639 B
Ruby

require 'formula'
class Pixman < Formula
homepage 'http://www.cairographics.org/'
url 'http://cairographics.org/releases/pixman-0.22.0.tar.gz'
sha256 '6b7622256e43912fb77fd456b0753f407268d450f5990c8f86e7c6f006e30da0'
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