Files
haikuports/dev-embedded/rasm/rasm-2.3.7.recipe
2025-07-01 18:44:48 +02:00

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-2025 Édouard Bergé"
LICENSE="MIT"
SOURCE_URI="https://github.com/EdouardBERGE/rasm/archive/refs/tags/v$portVersion.tar.gz"
SOURCE_DIR="rasm-$portVersion"
CHECKSUM_SHA256="fc2246572734d06d69a8bc19da54c86f4dee3c53228a1690ea20563230347207"
PATCHES="rasm-$portVersion.patchset"
REVISION="1"
ARCHITECTURES="!x86_gcc2 all"
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
}