2010-01-22 05:07:14 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class Pango <Formula
|
2010-03-25 03:17:25 +00:00
|
|
|
url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.0.tar.bz2'
|
2010-01-22 05:07:14 +00:00
|
|
|
homepage 'http://www.pango.org/'
|
2010-03-25 03:17:25 +00:00
|
|
|
sha256 '68480485b714e3570a58c270add9e9785fa78068f7410949b478e8a9d3f5bc40'
|
2010-01-22 05:07:14 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config'
|
2010-03-25 03:17:25 +00:00
|
|
|
depends_on 'glib'
|
2010-01-22 05:07:14 +00:00
|
|
|
|
2010-04-24 18:15:13 +00:00
|
|
|
if MACOS_VERSION < 10.6
|
|
|
|
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
|