61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
12 lines
339 B
Ruby
12 lines
339 B
Ruby
require 'formula'
|
|
|
|
class Nasm <Formula
|
|
@url='http://www.nasm.us/pub/nasm/releasebuilds/2.07/nasm-2.07.tar.bz2'
|
|
@homepage='http://www.nasm.us/'
|
|
@md5='d8934231e81874c29374ddef1fbdb1ed'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|