blob: eaca9767c03ef2752277927cd65d02f7561f2d7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
require 'formula'
class Pango <Formula
url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.3.tar.bz2'
homepage 'http://www.pango.org/'
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
fails_with_llvm "Undefined symbols when linking", :build => "2326"
system "./configure", "--prefix=#{prefix}", "--with-x"
system "make install"
end
end
|