homebrew-core/Formula/nasm.rb
Jonathan Schleifer 415cc1f319 nasm 2.10.01
Closes Homebrew/homebrew#12458.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-27 23:08:32 -05:00

18 lines
489 B
Ruby

require 'formula'
class Nasm < Formula
homepage 'http://www.nasm.us/'
url 'http://www.nasm.us/pub/nasm/releasebuilds/2.10.01/nasm-2.10.01.tar.bz2'
sha256 'ac9b37d265c35492ab1bc29dd5a4f3da11b42dd9fea7a31d95f6cb4c812bda84'
def options
[[ '--universal', 'Build a universal binary' ]]
end
def install
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--prefix=#{prefix}"
system "make everything"
system "make install_everything"
end
end