serf: universal support

Fixes Homebrew/homebrew#13226.
Closes Homebrew/homebrew#13813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
Constantime Kim 2012-07-31 13:22:12 +09:00 committed by Adam Vandenberg
parent b686106f57
commit 61ebd2f206

View file

@ -5,7 +5,12 @@ class Serf < Formula
url 'http://serf.googlecode.com/files/serf-1.1.0.tar.bz2'
sha1 '231af70b7567a753b49df4216743010c193884b7'
def options
[['--universal', 'Builds a universal binary.']]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"