Files
haikuports/dev-lang/fasm/fasm-1.71.39.recipe
2016-02-17 14:39:36 -05:00

46 lines
1.1 KiB
Bash

SUMMARY="The flat assembler"
DESCRIPTION="The flat assembler is a fast and efficient self-assembling x86 \
assembler for DOS, Windows Linux and Unix operating systems. \
Currently it supports x86 and x86-64 instructions sets with \
MMX, 3DNow!, SSE up to SSE4, AVX, AVX2 and XOP extensions, \
can produce output in plain binary, MZ, PE, COFF or ELF format. \
It includes the powerful but easy to use macroinstruction \
support and does multiple passes to optimize the instruction \
codes for size. The flat assembler is self-compilable and the \
complete source code is included."
HOMEPAGE="http://flatassembler.net"
COPYRIGHT="2004-2015 Tomasz Grysztar"
LICENSE="fasm"
REVISION="1"
SOURCE_URI="http://flatassembler.net/fasm-$portVersion.tar.gz"
CHECKSUM_SHA256="0389ca2e1956a207b709fbbd1cd0f257cf0e3d5039a43f8b12c5b2b102bb2cca"
SOURCE_DIR="fasm"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
PROVIDES="
fasm = $portVersion
cmd:fasm = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gcc
"
BUILD()
{
gcc fasm.o -o fasm
}
INSTALL()
{
mkdir -p $binDir
cp fasm $binDir
}