blob: 58cf48d62d2d7b8ff69167b0c929f8f25827f98a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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
|