homebrew-core/Formula/pango.rb

22 lines
623 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Pango < Formula
2010-11-06 04:42:22 +00:00
url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.3.tar.bz2'
homepage 'http://www.pango.org/'
2010-11-06 04:42:22 +00:00
sha256 '5e278bc9430cc7bb00270f183360d262c5006b51248e8b537ea904573f200632'
depends_on 'pkg-config' => :build
depends_on 'glib'
if MACOS_VERSION < 10.6
depends_on 'fontconfig' # Leopard's fontconfig is too old.
depends_on 'cairo' # Leopard doesn't come with Cairo.
end
def install
2010-10-06 18:42:41 +00:00
fails_with_llvm "Undefined symbols when linking", :build => "2326"
system "./configure", "--prefix=#{prefix}", "--with-x"
system "make install"
end
end