diff options
| author | John Benediktsson | 2012-06-19 09:00:10 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-06-23 10:23:37 -0700 |
| commit | bcf5999090db5175ba1bfb9a3f926e59f6e6016a (patch) | |
| tree | 28833d8f185053111a66a5b4f5e636304d288e4f /Library/Formula | |
| parent | ba2c84f15ea9fb29986696829bcf43a142f80d18 (diff) | |
| download | homebrew-bcf5999090db5175ba1bfb9a3f926e59f6e6016a.tar.bz2 | |
udis86: add universal option.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/udis86.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/udis86.rb b/Library/Formula/udis86.rb index 047ea1203..304821ca5 100644 --- a/Library/Formula/udis86.rb +++ b/Library/Formula/udis86.rb @@ -5,7 +5,12 @@ class Udis86 < Formula md5 'e279108e10f774e6c3af83caa18f5dc3' homepage 'http://udis86.sourceforge.net' + def options + [["--universal", "Build a universal binary."]] + end + def install + ENV.universal_binary if ARGV.build_universal? system "./configure", "--enable-shared", "--prefix=#{prefix}" system "make" system "make install" |
