2010-01-22 05:07:14 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Pango < Formula
|
2010-01-22 05:07:14 +00:00
|
|
|
homepage 'http://www.pango.org/'
|
2011-04-05 06:51:32 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.4.tar.bz2'
|
|
|
|
sha256 '7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f'
|
2010-01-22 05:07:14 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-03-25 03:17:25 +00:00
|
|
|
depends_on 'glib'
|
2010-01-22 05:07:14 +00:00
|
|
|
|
2011-03-21 21:24:22 +00:00
|
|
|
fails_with_llvm "Undefined symbols when linking", :build => "2326"
|
|
|
|
|
2011-04-08 18:16:37 +00:00
|
|
|
if MacOS.leopard?
|
2010-04-24 18:15:13 +00:00
|
|
|
depends_on 'fontconfig' # Leopard's fontconfig is too old.
|
|
|
|
depends_on 'cairo' # Leopard doesn't come with Cairo.
|
|
|
|
end
|
|
|
|
|
2010-01-22 05:07:14 +00:00
|
|
|
def install
|
2010-02-19 03:42:36 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--with-x"
|
2010-01-22 05:07:14 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|