diff options
| author | Jack Nagel | 2012-08-12 12:57:47 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-12 13:01:01 -0500 |
| commit | 0c18b97e379dfbc3972bf85f0a8fb64a2f013534 (patch) | |
| tree | 38143e101162ca60f98b419304c4b8ad8e2d09ef /Library | |
| parent | 6f441742f1d703e12cc7750040712390f269682e (diff) | |
| download | homebrew-0c18b97e379dfbc3972bf85f0a8fb64a2f013534.tar.bz2 | |
nasm: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/nasm.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/nasm.rb b/Library/Formula/nasm.rb index eeb47c8ca..c73b9d43c 100644 --- a/Library/Formula/nasm.rb +++ b/Library/Formula/nasm.rb @@ -5,12 +5,10 @@ class Nasm < Formula url 'http://www.nasm.us/pub/nasm/releasebuilds/2.10.03/nasm-2.10.03.tar.bz2' sha256 '3babec15086fed1d00495e7c412848fd135cad70faa811738cb35da46d98974c' - def options - [[ '--universal', 'Build a universal binary' ]] - end + option :universal def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? system "./configure", "--prefix=#{prefix}" system "make everything" system "make install_everything" |
