comcom64: new recipe

This commit is contained in:
PulkoMandy
2025-06-23 21:34:07 +02:00
parent 3a8d9634f4
commit 471ebab59d

View File

@@ -0,0 +1,44 @@
SUMMARY="64-bit implementation of COMMAND.COM for dosemu"
DESCRIPTION="DOS shell for use with DOSEMU. This allows use of modern features and more reliance
on the host system instead of emulation."
HOMEPAGE="https://github.com/dosemu2/comcom64"
COPYRIGHT="2024 Stas Sergeev, Andrew Bird, E.C. Masloch"
LICENSE="GNU GPL v3"
SOURCE_URI="https://github.com/dosemu2/comcom64/archive/1cebce6b65b27303855e5d73deb90e92495f98e3.tar.gz"
SOURCE_DIR="comcom64-1cebce6b65b27303855e5d73deb90e92495f98e3"
CHECKSUM_SHA256="90e9f08c275d632a0758eb21a83cc90a187d8f405025e670f8f4d87344b8a0d5"
REVISION="1"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
comcom64$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
dj64$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:djlink
cmd:gcc$secondaryArchSuffix
cmd:make
cmd:llvm_objdump$secondaryArchSuffix
cmd:pkg_config
cmd:thunk_gen
cmd:which
"
BUILD()
{
make prefix=$prefix DATADIR=$dataDir/comcom64 $jobArgs
}
INSTALL()
{
make prefix=$prefix DATADIR=$dataDir/comcom64 install
}