nasm: add recipe for version 2.12.

This commit is contained in:
Jerome Duval
2016-03-08 20:24:51 +00:00
parent c4b3c50dfc
commit be902e6442

View File

@@ -0,0 +1,48 @@
SUMMARY="The Nasm assembler"
DESCRIPTION="The Netwide Assembler, NASM, is an 80x86 and x86-64 assembler \
designed for portability and modularity. It supports a range of object file
formats, including Linux and *BSD a.out, ELF, COFF, Mach-O, Microsoft 16-bit \
OBJ, Win32 and Win64. It will also output plain binary files. Its syntax is \
designed to be simple and easy to understand, similar to Intel's but less \
complex. It supports all currently known x86 architectural extensions, and \
has strong support for macros."
HOMEPAGE="http://www.nasm.us/"
COPYRIGHT="1996 Simon Tatham and Julian Hall"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="http://www.nasm.us/pub/nasm/releasebuilds/$portVersion/nasm-$portVersion.tar.bz2"
CHECKSUM_SHA256="0ea005493081540093d1d53eac6ae4da63ce0afcdd102c623f255b8a5067831e"
ARCHITECTURES="x86_gcc2 x86 x86_64"
PROVIDES="
nasm = $portVersion compat >= 1
cmd:nasm = $portVersion compat >= 1
cmd:ndisasm = $portVersion compat >= 1
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
cmd:ld
cmd:awk
cmd:make
cmd:perl
cmd:sed
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}