aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-09 22:16:18 -0700
committerAdam Vandenberg2012-08-09 22:16:18 -0700
commit6e3bf3c41d00e9b9640f34b7af60303b816baeca (patch)
tree9f1d29095d034ec8217e7b9f2613c8e669b9ccae /Library
parent4e83722a567b005ef78c3e219353cc35aa98832a (diff)
downloadhomebrew-6e3bf3c41d00e9b9640f34b7af60303b816baeca.tar.bz2
libtiff: use options dsl
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/libtiff.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/libtiff.rb b/Library/Formula/libtiff.rb
index 674635cf2..90c1bdd2b 100644
--- a/Library/Formula/libtiff.rb
+++ b/Library/Formula/libtiff.rb
@@ -5,14 +5,12 @@ class Libtiff < Formula
url 'http://download.osgeo.org/libtiff/tiff-4.0.2.tar.gz'
sha256 'aa29f1f5bfe3f443c3eb4dac472ebde15adc8ff0464b83376f35e3b2fef935da'
- depends_on :x11
+ option :universal
- def options
- [["--universal", "Builds a universal binary"]]
- end
+ depends_on :x11
def install
- ENV.universal_binary if ARGV.build_universal?
+ ENV.universal_binary if build.universal?
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"