homebrew-core/Formula/nasm.rb

19 lines
463 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Nasm < Formula
url 'http://www.nasm.us/pub/nasm/releasebuilds/2.09.10/nasm-2.09.10.tar.bz2'
homepage 'http://www.nasm.us/'
sha1 'ca57a7454b29e18c64018e49cdf5c832937497ab'
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