1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 01:47:35 +00:00

Ports: Add emu2 DOS emulator

This commit is contained in:
Brendan Coles 2021-04-14 17:24:58 +00:00 committed by Andreas Kling
parent 6ac7d946be
commit d65e74bffa
7 changed files with 80 additions and 0 deletions

9
Ports/emu2/package.sh Executable file
View file

@ -0,0 +1,9 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=emu2
version=ff276eb0a755a3e784f73da00b5db6c1b25c1f83
files="https://github.com/dmsc/emu2/archive/${version}.zip emu2-${version}.zip 2640a713d6c7ed98d020e0b7dccbc404"
build() {
export CC="${SERENITY_ROOT}/Toolchain/Local/${SERENITY_ARCH}/bin/${SERENITY_ARCH}-pc-serenity-gcc"
run make DESTDIR="${SERENITY_BUILD_DIR}/Root" CC="${CC}" $installopts
}