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="350467f756f22f17ea66c72e2a47501e81a9f053" SOURCE_URI="https://github.com/dmsc/emu2/archive/$srcGitRev.tar.gz" CHECKSUM_SHA256="12afdbfba72f4c8d40f67c413afc8a4b9d58fb1fc1a7bb3553f917f294f5549e" 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 }