Files
haikuports/dev-embedded/dbztool/dbztool-2025.02.22.recipe
2025-02-22 22:43:05 +01:00

47 lines
1.2 KiB
Bash

SUMMARY="Motorola Dragonball bootstrap tool"
DESCRIPTION="Command-line tool for manipulating the bootstrap interface of a Dragonball VZ \
processor. It allows you to upload and download data, run programs, examine and modify the \
system registers, etc. Currently it's only been tested on the Alphasmart Dana but it should \
work on other machines too (although a number of places in the code assume you're using UART1, \
which need to be fixed)."
HOMEPAGE="https://github.com/davidgiven/dbztool"
COPYRIGHT="2021 David Given"
LICENSE="BSD (2-clause)"
SOURCE_URI="https://github.com/davidgiven/dbztool/archive/742153af9333afdcee1d47b554afa56d5791dbfb.tar.gz"
SOURCE_DIR="dbztool-742153af9333afdcee1d47b554afa56d5791dbfb"
CHECKSUM_SHA256="e33526550ece3a0d0231d0dccb1d9ecf1a4bc9cd531d8096bac0d102159a6947"
REVISION="1"
PATCHES="dbztool-$portVersion.patchset"
ARCHITECTURES="all"
PROVIDES="
dbztool$secondaryArchSuffix = $portVersion
cmd:dbztool$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:m68k_elf_gcc
cmd:make
cmd:ninja
cmd:xxd
"
BUILD()
{
make $jobArgs
}
INSTALL()
{
mkdir -p $binDir
cp dbztool $binDir
}