emu2: new recipe (r219) (#13606)

This commit is contained in:
Alex Brown
2026-01-12 09:43:42 +00:00
committed by GitHub
parent 6b21a26229
commit 9c19eb2fd2

View File

@@ -0,0 +1,40 @@
SUMMARY="Simple x86 and DOS emulator for the terminal"
DESCRIPTION="This is a simple DOS emulator for the text console, supporting basic DOS system calls and console I/O."
HOMEPAGE="https://github.com/dmsc/emu2/"
COPYRIGHT="2025 dmsc"
LICENSE="GNU GPL v2"
REVISION="1"
srcGitRev="4948d1e12b952f0a30c7e4aa8fa380b51c0c84a7"
SOURCE_URI="https://github.com/dmsc/emu2/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="fa0893d5b3c3486c963527080cb16b3193b32b0ad1bcf561487d8bcdeeb061eb"
SOURCE_DIR="emu2-$srcGitRev"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
emu2$secondaryArchSuffix = $portVersion
cmd:emu2 = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
make
}
INSTALL()
{
PREFIX=$prefix make install
}