2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
Yasm formula
Yasm is a complete rewrite of the NASM assembler under the "new" BSD License.
Yasm currently supports the x86 and AMD64 instruction sets, accepts NASM and
GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O,
RDOFF2, COFF, Win32, and Win64 object formats, and generates source debugging
information in STABS, DWARF 2, and CodeView 8 formats.
2009-09-11 12:12:20 +00:00
|
|
|
|
|
|
|
class Yasm <Formula
|
2010-08-23 13:26:26 +00:00
|
|
|
url 'http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz'
|
2010-04-09 15:19:15 +00:00
|
|
|
homepage 'http://www.tortall.net/projects/yasm/'
|
2010-08-23 13:26:26 +00:00
|
|
|
md5 '8392e5f2235c2c2a981e1a633f2698cb'
|
Yasm formula
Yasm is a complete rewrite of the NASM assembler under the "new" BSD License.
Yasm currently supports the x86 and AMD64 instruction sets, accepts NASM and
GAS assembler syntaxes, outputs binary, ELF32, ELF64, 32 and 64-bit Mach-O,
RDOFF2, COFF, Win32, and Win64 object formats, and generates source debugging
information in STABS, DWARF 2, and CodeView 8 formats.
2009-09-11 12:12:20 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|