aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2013-07-19 11:12:08 -0700
committerAdam Vandenberg2013-07-19 11:12:08 -0700
commit98ba6e58992745a83a431e24fd6db93181b6518a (patch)
treed489be8460eedb05e8dc2fe5657532901524571d /Library/Formula
parent0037a8afd083486fb99f05899a7c4510a89aa4c0 (diff)
downloadhomebrew-98ba6e58992745a83a431e24fd6db93181b6518a.tar.bz2
little-cms: add --universal
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/little-cms.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/little-cms.rb b/Library/Formula/little-cms.rb
index 230a2752a..e177cfd1d 100644
--- a/Library/Formula/little-cms.rb
+++ b/Library/Formula/little-cms.rb
@@ -5,11 +5,14 @@ class LittleCms < Formula
url 'http://downloads.sourceforge.net/project/lcms/lcms/1.19/lcms-1.19.tar.gz'
sha1 'd5b075ccffc0068015f74f78e4bc39138bcfe2d4'
+ option :universal
+
depends_on :python => :optional
depends_on 'jpeg' => :optional
depends_on 'libtiff' => :optional
def install
+ ENV.universal_binary if build.universal?
args = ["--disable-debug", "--prefix=#{prefix}"]
args << "--with-python" if build.with? "python"