40 lines
1.1 KiB
Ruby
40 lines
1.1 KiB
Ruby
require "formula"
|
|
|
|
class Pixman < Formula
|
|
homepage "http://cairographics.org/"
|
|
url "http://cairographics.org/releases/pixman-0.32.6.tar.gz"
|
|
sha256 "3dfed13b8060eadabf0a4945c7045b7793cc7e3e910e748a8bb0f0dc3e794904"
|
|
|
|
bottle do
|
|
cellar :any
|
|
revision 1
|
|
sha1 "8f47ec83a3ce8bf6bf41676b3143286c8dbb85bd" => :yosemite
|
|
sha1 "9670f838299329540839e49026849db0f394f261" => :mavericks
|
|
sha1 "9012f57f5b65b3f1a3dfec6b91be7f66e955a3e4" => :mountain_lion
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
|
|
keg_only :provided_pre_mountain_lion
|
|
|
|
option :universal
|
|
|
|
fails_with :llvm do
|
|
build 2336
|
|
cause <<-EOS.undent
|
|
Building with llvm-gcc causes PDF rendering issues in Cairo.
|
|
https://trac.macports.org/ticket/30370
|
|
See Homebrew issues #6631, #7140, #7463, #7523.
|
|
EOS
|
|
end
|
|
|
|
def install
|
|
ENV.universal_binary if build.universal?
|
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
"--disable-silent-rules",
|
|
"--prefix=#{prefix}",
|
|
"--disable-gtk"
|
|
system "make", "install"
|
|
end
|
|
end
|