Files
haikuports/dev-embedded/rasm/rasm-2.0.recipe

52 lines
1.3 KiB
Bash

SUMMARY="Powerful and ultra-fast Z80 assembler"
DESCRIPTION="Powerful and ultra-fast Z80 assembler:
- ultra-fast (30 times faster than his best chalenger)
- crunched code section on the fly
- symbols import/export, breakpoints export in file or snapshots
- export binaries, cartridge, DSK, snapshot, AMSDOS
- memory check, unlimited workspaces where all labels are shared, bank and rom management
- local labels, proximity labels, structures
- ALL instructions supported
- conditional macros, unlimited imbricated loops, switch/case
- math engine with correct rounding
- MAXAM, AS80 and UZ80 compatibility"
HOMEPAGE="http://www.roudoudou.com/rasm/"
COPYRIGHT="2017-2021 Édouard Bergé"
LICENSE="MIT"
SOURCE_URI="https://github.com/EdouardBERGE/rasm/archive/refs/tags/v2.0.tar.gz"
CHECKSUM_SHA256="d7af4102b2e3c3dbdad1bc6d4c7da482aafa5602420a56848140cc37b27a36f7"
SOURCE_DIR="rasm-$portVersion"
PATCHES="rasm-$portVersion.patchset"
REVISION="1"
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
rasm$secondaryArchSuffix = $portVersion
cmd:rasm = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc$secondaryArchSuffix
"
BUILD()
{
make -f makefile.MacOS $jobArgs
}
INSTALL()
{
mkdir -p $prefix/bin
cp rasm $prefix/bin/rasm
}