Add sm64ex recipe

This commit is contained in:
Jeremy Soller 2022-08-01 18:29:09 -06:00
parent cf95f4ea03
commit b62ddf4f5a
No known key found for this signature in database
GPG Key ID: 87F211AF2BE4C2FE
2 changed files with 23 additions and 0 deletions

1
recipes/sm64ex/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/baserom.us.z64

View File

@ -0,0 +1,22 @@
[source]
git = "https://github.com/jackpot51/sm64ex.git"
[build]
template = "custom"
dependencies = [
"liborbital",
"llvm",
"mesa",
"sdl2",
"zlib",
]
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
# You must find your own ROM
cp -v "${COOKBOOK_RECIPE}/baserom.us.z64" baserom.us.z64
export CROSS="${TARGET}-"
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
mkdir -p "${COOKBOOK_STAGE}/bin"
cp -v build/us_pc/sm64.us.f3dex2e "${COOKBOOK_STAGE}/bin/sm64"
"""