mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 07:40:07 +02:00
56 lines
1.3 KiB
Bash
56 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="http://www.nasm.us/"
|
|
COPYRIGHT="1996-2001 Simon Tatham, Julian Hall
|
|
2002-2016 H. Peter Anvin, Jim Kukunas, Cyrill Gorcunov, Frank B. \
|
|
Kotler"
|
|
LICENSE="BSD (2-clause)"
|
|
REVISION="3"
|
|
SOURCE_URI="http://www.nasm.us/pub/nasm/releasebuilds/$portVersion/nasm-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="f8bebee8107a42f6661526cf9e0bd92fcd33ff0df01ea05093f7650ec60d902b"
|
|
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:gcc
|
|
cmd:ld
|
|
cmd:awk
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure
|
|
make $jobArgs PERL=true
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install PERL=true
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make test
|
|
}
|