diff options
| author | Douglas Creager | 2011-03-04 17:25:23 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-04 15:39:35 -0800 |
| commit | 857678439f00f7c2311275ca4a0e8d0fd119c236 (patch) | |
| tree | 2b580096a6215d3c8e8f2001f610ed3a96df2336 /Library/Formula/check.rb | |
| parent | d4614337b4d4121edeb0a38a48d951e96e767051 (diff) | |
| download | homebrew-857678439f00f7c2311275ca4a0e8d0fd119c236.tar.bz2 | |
check can be built as a universal binary
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/check.rb')
| -rw-r--r-- | Library/Formula/check.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/check.rb b/Library/Formula/check.rb index bd8573c47..fab0c4dea 100644 --- a/Library/Formula/check.rb +++ b/Library/Formula/check.rb @@ -5,7 +5,12 @@ class Check <Formula homepage 'http://check.sourceforge.net/' md5 '5d75e9a6027cde79d2c339ef261e7470' + def options + [["--universal", "Build a universal binary."]] + end + def install + ENV.universal_binary if ARGV.include? "--universal" system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" |
