redox/recipes/emulators/libretro-super/recipe.toml

28 lines
476 B
TOML

[package]
description = "libretro library and cores"
[source]
git = "https://github.com/jackpot51/libretro-super.git"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"zlib",
]
script = """
DYNAMIC_INIT
CORES=(
snes9x
)
pushd "${COOKBOOK_SOURCE}"
./libretro-fetch.sh "${CORES[@]}"
popd
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
export platform=Redox
./libretro-build.sh "${CORES[@]}"
./libretro-install.sh "${COOKBOOK_STAGE}/share/libretro"
"""