SUMMARY="The Nasm assembler"
DESCRIPTION="
The Nasm assembler
" 
HOMEPAGE="http://www.nasm.us/" 
SRC_URI="http://www.nasm.us/pub/nasm/releasebuilds/2.11.02/nasm-2.11.02.tar.bz2"
CHECKSUM_SHA256="ece26b5ef565f94d19a72756d05965e424d2e5ca55f88b949852da70dd62f0e0"
LICENSE="BSD (2-clause)"
COPYRIGHT="1996 Simon Tatham and Julian Hall."
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 x86_64"

PROVIDES="
	nasm = $portVersion compat >= 1
	cmd:nasm = $portVersion compat >= 1
	cmd:ndisasm = $portVersion compat >= 1
	"
	
REQUIRES="
	haiku >= $haikuVersion
	"
BUILD_REQUIRES=""

BUILD_PREREQUIRES="
	haiku_devel >= $haikuVersion
	cmd:gcc
	cmd:ld
	cmd:awk
	cmd:make
	cmd:perl
	cmd:sed
	"


BUILD()
{
	runConfigure ./configure
	make $jobArgs
}

INSTALL()
{
	make install
}
