mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-15 12:23:15 +00:00
0dfbc2c702
This is a Basic Genesis / MegaDrive Emulator, that only requires SDL2 to run it. Usage: genemu /path/to/game.bin
18 lines
381 B
Bash
18 lines
381 B
Bash
#!/usr/bin/env -S bash ../.port_include.sh
|
|
|
|
port="genemu"
|
|
version="${port}-git"
|
|
workdir="${port}-master"
|
|
useconfigure=true
|
|
files="https://github.com/rasky/genemu/archive/master.tar.gz ${version}.tar.gz"
|
|
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_ROOT}/Toolchain/CMakeToolchain.txt"
|
|
depends="SDL2"
|
|
|
|
configure() {
|
|
run cmake ${configopts}
|
|
}
|
|
|
|
install() {
|
|
run make install
|
|
}
|