Files
haikuports/dev-lang/nasm/nasm-2.11.08.recipe
2015-08-04 12:08:31 -04:00

49 lines
1.2 KiB
Bash

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="9da3a0291a0bdc06305b7ba194f1e2c2b55ae6f11210b4af43729868149d5445"
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
}