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

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:make
	cmd:perl
	"
	

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

INSTALL()
{
	make install
}
