Files
haikuports/dev-lang/nasm/nasm-2.12.02.recipe
2018-09-19 08:03:19 +00:00

58 lines
1.3 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="https://www.nasm.us/"
COPYRIGHT="1996-2016 NASM Authors"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="https://www.nasm.us/pub/nasm/releasebuilds/$portVersion/nasm-$portVersion.tar.bz2"
CHECKSUM_SHA256="00b0891c678c065446ca59bcee64719d0096d54d6886e6e472aeee2e170ae324"
PATCHES="nasm-$portVersion.patchset"
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:awk
cmd:gcc
cmd:ld
cmd:make
cmd:sed
"
TEST_REQUIRES="
cmd:perl
"
BUILD()
{
runConfigure ./configure
make $jobArgs PERL=true
}
INSTALL()
{
make install PERL=true
}
TEST()
{
make test
}