uxn, new recipe (#6935)

This commit is contained in:
Schrijvers Luc
2022-05-23 12:13:14 +02:00
committed by GitHub
parent f604881428
commit 44dd0f5577

View File

@@ -0,0 +1,56 @@
SUMMARY="An assembler and emulator for the Uxn stack-machine"
DESCRIPTION="The Uxn ecosystem is a clean-slate personal computing stack, created to host small \
tools and games, programmable in its own unique assembly language, made of 32 instructions.
It was designed with an implementation-first mindset with a focus on creating portable graphical \
applications, the distribution of Uxn projects is akin to sharing game roms for any classic \
console emulator. To learn more, read about the uxn design, or see the technical documentation."
HOMEPAGE="https://100r.co/site/uxn.html"
COPYRIGHT="2022 Devine Lu Linvega"
LICENSE="MIT"
REVISION="1"
srcGitRev="e00e74b9d043fef03a3692251fb792eabfcb4cd9"
SOURCE_URI="https://git.sr.ht/~rabbits/uxn/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="d4b5a8b269dd587e64de7ef997f92df232c7face1575d117493c4245c4969c85"
SOURCE_FILENAME="uxn-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="uxn-$srcGitRev"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
uxn$secondaryArchSuffix = $portVersion
cmd:uxnasm = $portVersion
cmd:uxncli = $portVersion
cmd:uxnemu = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libSDL2_2.0$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libSDL2_2.0$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
./build.sh --no-run
}
INSTALL()
{
mkdir -p $prefix/bin $docDir
cp bin/uxn* $prefix/bin
cp README.md $docDir
}
TEST()
{
make check
}