diff --git a/dev-lang/nasm/nasm-2.12.recipe b/dev-lang/nasm/nasm-2.12.recipe new file mode 100644 index 000000000..11a25ef89 --- /dev/null +++ b/dev-lang/nasm/nasm-2.12.recipe @@ -0,0 +1,48 @@ +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/$portVersion/nasm-$portVersion.tar.bz2" +CHECKSUM_SHA256="0ea005493081540093d1d53eac6ae4da63ce0afcdd102c623f255b8a5067831e" + +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:perl + cmd:sed + " + +BUILD() +{ + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install +}