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

47 lines
1.1 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/2.08.01/nasm-2.08.01.tar.bz2"
CHECKSUM_SHA256="049b9a1381c0c775a07490f272a57c1802627cbfd6b2d675770b72078bdd8bc6"
ARCHITECTURES="x86_gcc2 x86"
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:make
cmd:perl
"
BUILD()
{
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}