homebrew-core/Formula/serf.rb
Constantime Kim 61ebd2f206 serf: universal support
Fixes Homebrew/homebrew#13226.
Closes Homebrew/homebrew#13813.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-07-30 21:54:15 -07:00

19 lines
519 B
Ruby

require 'formula'
class Serf < Formula
homepage 'http://code.google.com/p/serf/'
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}"
system "make install"
end
end