diff options
| author | John Harrison | 2012-02-04 00:14:29 -0600 |
|---|---|---|
| committer | Adam Vandenberg | 2012-03-15 20:49:06 -0700 |
| commit | 1bcb7dceb8600673fa8d7dd491fd9b0ab1caadc6 (patch) | |
| tree | 0f40338f44b0d658b480b68a305d8153311649a9 /Library/Formula | |
| parent | fceb27b5c4dc74539c398b41080e5bcbc515f863 (diff) | |
| download | homebrew-1bcb7dceb8600673fa8d7dd491fd9b0ab1caadc6.tar.bz2 | |
libtiff: add --universal
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/libtiff.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Formula/libtiff.rb b/Library/Formula/libtiff.rb index 007768f07..38a7f8edb 100644 --- a/Library/Formula/libtiff.rb +++ b/Library/Formula/libtiff.rb @@ -5,8 +5,16 @@ class Libtiff < Formula url 'http://download.osgeo.org/libtiff/tiff-3.9.5.zip' sha256 '332d1a658340c41791fce62fb8fff2a5ba04c2e82b8b85e741eb0a7b30e0d127' + def options + [["--universal", "Builds a universal binary"]] + end + def install - system "./configure", "--prefix=#{prefix}", "--mandir=#{man}" + ENV.universal_binary if ARGV.build_universal? + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--mandir=#{man}", + "--with-apple-opengl-framework" system "make install" end end |
