serenity/Ports/genemu/package.sh
aabajyan 0dfbc2c702 Ports: Add Genemu
This is a Basic Genesis / MegaDrive Emulator, that only requires
SDL2 to run it.

Usage: genemu /path/to/game.bin
2021-03-08 08:57:12 +01:00

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
}