aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDavid Höppner2009-09-11 14:12:20 +0200
committerMax Howell2009-09-11 17:42:53 +0100
commit9d100b16b07a8c55b0b0a3595bb17c98dc3787e4 (patch)
treec792a2ffbdef7e99bdf7da36834c46740549d628 /Library/Formula
parent1294edf21c2f2dc162546d00bfb7cea05245d8ed (diff)
downloadhomebrew-9d100b16b07a8c55b0b0a3595bb17c98dc3787e4.tar.bz2
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.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/yasm.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/yasm.rb b/Library/Formula/yasm.rb
new file mode 100644
index 000000000..78a3dcb10
--- /dev/null
+++ b/Library/Formula/yasm.rb
@@ -0,0 +1,12 @@
+require 'brewkit'
+
+class Yasm <Formula
+ @url='http://www.tortall.net/projects/yasm/releases/yasm-0.8.0.tar.gz'
+ @homepage='http://www.tortall.net/projects/yasm/'
+ @md5='84a72204c9b452a00b39b1b00495163f'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end