diff options
| author | Nibbles 2bits | 2011-09-22 16:13:52 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-11-27 11:51:18 -0800 |
| commit | 5409947ba2505a0330ef5c611afe5fb182a31911 (patch) | |
| tree | b60e0a624f07523cb15577b20bc23107f9fe7d0a /Library/Formula | |
| parent | a6e213d6cf07544cd7d309fcbce9f49ae3107963 (diff) | |
| download | homebrew-5409947ba2505a0330ef5c611afe5fb182a31911.tar.bz2 | |
pango 1.29.4
This updates pango to 1.29.3 and fixes the html doc install path.
It also enables the creation of two man pages. Added at the end
is a def test that uses pango, cairo, glib, libz, and freetype.
The formula creates shared native libraies as it was previously
crafted, and it compiles using llvm 2335, gcc-4.2.1, and clang-2.0
from XCode 4.0.2 on 64bit OSX 10.6.8.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/pango.rb | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/Library/Formula/pango.rb b/Library/Formula/pango.rb index fa91ff959..d01185aa1 100644 --- a/Library/Formula/pango.rb +++ b/Library/Formula/pango.rb @@ -2,8 +2,8 @@ require 'formula' class Pango < Formula homepage 'http://www.pango.org/' - url 'http://ftp.gnome.org/pub/GNOME/sources/pango/1.28/pango-1.28.4.tar.bz2' - sha256 '7eb035bcc10dd01569a214d5e2bc3437de95d9ac1cfa9f50035a687c45f05a9f' + url 'http://ftp.gnome.org/pub/gnome/sources/pango/1.29/pango-1.29.4.tar.bz2' + sha256 'f15deecaecf1e9dcb7db0e4947d12b5bcff112586434f8d30a5afd750747ff2b' depends_on 'pkg-config' => :build depends_on 'glib' @@ -18,7 +18,19 @@ class Pango < Formula end def install - system "./configure", "--prefix=#{prefix}", "--with-x" + system "./configure", "--disable-dependency-tracking", "--disable-debug", + "--prefix=#{prefix}", + "--enable-man", + "--with-x", + "--with-html-dir=#{share}/doc" + system "make" system "make install" end + + def test + mktemp do + system "#{bin}/pango-view -t 'test-image' --waterfall --rotate=10 --annotate=1 --header -q -o output.png" + system "/usr/bin/qlmanage -p output.png" + end + end end |
