mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
57 lines
1.5 KiB
Bash
57 lines
1.5 KiB
Bash
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="2023 Devine Lu Linvega"
|
|
LICENSE="MIT"
|
|
REVISION="1"
|
|
srcGitRev="c9183a02e5a0d0eb8da34c71c2ca67eb2e2e7453"
|
|
SOURCE_URI="https://git.sr.ht/~rabbits/uxn/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="1ca68776920f2f150e59a6a2a2ccce8c530d6a02fa9106570913ee12fba17927"
|
|
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
|
|
}
|