aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/nasm.rb
diff options
context:
space:
mode:
authorNibbles 2bits2011-09-23 13:58:40 -0700
committerCharlie Sharpsteen2011-09-23 22:19:18 -0700
commit574228c4a672afc9e63ee9b9423b29d982f03a05 (patch)
tree6feecb28d754056b9e058c5ed2c3fc2ab731a21a /Library/Formula/nasm.rb
parent69f144f07e90e22a886ad3c1dbdcd26ed3350a4f (diff)
downloadhomebrew-574228c4a672afc9e63ee9b9423b29d982f03a05.tar.bz2
nasm: Update to 2.09.10
This updates nasm to the newest version 2.09.10 and uses the more complete 'make everything' which builds the docs and the rdf tools as well. The user is also given the option to build a universal binary, as that is what the nasm authors provide in their precompiled MacOSX archive (they have ppc + i386). All the apps pass make test and compile pedantic using all three compilers, llvm-2335, clang-2.0, and gcc-4.2.1 from XCode 4.0.2 on x64 10.6.8. Closes #7788. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
Diffstat (limited to 'Library/Formula/nasm.rb')
-rw-r--r--Library/Formula/nasm.rb14
1 files changed, 10 insertions, 4 deletions
diff --git a/Library/Formula/nasm.rb b/Library/Formula/nasm.rb
index 7ff499a1d..925d4cd7a 100644
--- a/Library/Formula/nasm.rb
+++ b/Library/Formula/nasm.rb
@@ -1,12 +1,18 @@
require 'formula'
class Nasm < Formula
- url 'http://www.nasm.us/pub/nasm/releasebuilds/2.09/nasm-2.09.tar.bz2'
+ url 'http://www.nasm.us/pub/nasm/releasebuilds/2.09.10/nasm-2.09.10.tar.bz2'
homepage 'http://www.nasm.us/'
- md5 'bf224f073b3181186114c93e6695e6ac'
+ sha1 'ca57a7454b29e18c64018e49cdf5c832937497ab'
+
+ def options
+ [[ '--universal', 'Build a universal binary' ]]
+ end
def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
- system "make install"
+ ENV.universal_binary if ARGV.build_universal?
+ system "./configure", "--prefix=#{prefix}"
+ system "make everything"
+ system "make install_everything"
end
end