fasm: add recipe for version 1.71.39

This commit is contained in:
IMadering
2015-09-06 15:24:57 +03:00
parent f5c36c5e0b
commit 4afef22033
2 changed files with 83 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
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"
SOURCE_URI="http://flatassembler.net/fasm-$portVersion.tar.gz"
SOURCE_DIR="fasm"
CHECKSUM_SHA256="0389ca2e1956a207b709fbbd1cd0f257cf0e3d5039a43f8b12c5b2b102bb2cca"
LICENSE="fasm"
REVISION="1"
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
}

View File

@@ -0,0 +1,37 @@
flat assembler version 1.71
Copyright (c) 1999-2013, Tomasz Grysztar.
All rights reserved.
This program is free for commercial and non-commercial use as long as
the following conditions are adhered to.
Copyright remains Tomasz Grysztar, and as such any Copyright notices
in the code are not to be removed.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The licence and distribution terms for any publically available
version or derivative of this code cannot be changed. i.e. this code
cannot simply be copied and put under another distribution licence
(including the GNU Public Licence).