aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2012-08-09 22:17:14 -0700
committerAdam Vandenberg2012-08-09 22:17:14 -0700
commit155923737df2680b6321c5d64d47849e5c1108d6 (patch)
tree5183f7be571a63ed36c35b974a53de75411621d5
parent8e26401c7580912cb0f5341c9fce769f3061efa7 (diff)
downloadhomebrew-155923737df2680b6321c5d64d47849e5c1108d6.tar.bz2
serf: use options dsl
-rw-r--r--Library/Formula/serf.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/Library/Formula/serf.rb b/Library/Formula/serf.rb
index ac3fcfb8f..7f293ae18 100644
--- a/Library/Formula/serf.rb
+++ b/Library/Formula/serf.rb
@@ -5,15 +5,13 @@ class Serf < Formula
url 'http://serf.googlecode.com/files/serf-1.1.0.tar.bz2'
sha1 '231af70b7567a753b49df4216743010c193884b7'
+ option :universal
+
depends_on :automake
depends_on :libtool
- def options
- [['--universal', 'Builds a universal binary.']]
- end
-
def install
- ENV.universal_binary if ARGV.build_universal?
+ ENV.universal_binary if build.universal?
if MacOS.mountain_lion?
# Fixes a bad path returned by `apr-1-config --cpp` on ML.
# https://github.com/mxcl/homebrew/issues/13586