diff options
| author | William Woodall | 2011-08-15 21:33:04 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2011-09-01 16:24:48 -0700 |
| commit | 52487072f4b885e0b40a33352f82ad3ea1029b64 (patch) | |
| tree | 1297440f307df7124e9969b7b513f8aa91b3da15 /Library/Formula | |
| parent | f6a23ed6a600f524284bab7197596d6524ec1f31 (diff) | |
| download | homebrew-52487072f4b885e0b40a33352f82ad3ea1029b64.tar.bz2 | |
cppunit: add --universal option
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/cppunit.rb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Library/Formula/cppunit.rb b/Library/Formula/cppunit.rb index 02c5ef9ee..36ee482e1 100644 --- a/Library/Formula/cppunit.rb +++ b/Library/Formula/cppunit.rb @@ -5,8 +5,16 @@ class Cppunit < Formula homepage 'http://sourceforge.net/apps/mediawiki/cppunit/' md5 'bd30e9cf5523cdfc019b94f5e1d7fd19' + def options + [["--universal", "Build for both 32 & 64 bit Intel."]] + end + def install - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + args = ["--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"] + + ENV.universal_binary if ARGV.build_universal? + + system "./configure", *args system "make install" end end |
