diff --git a/recipes/sm64ex/.gitignore b/recipes/sm64ex/.gitignore new file mode 100644 index 000000000..09b26b184 --- /dev/null +++ b/recipes/sm64ex/.gitignore @@ -0,0 +1 @@ +/baserom.us.z64 diff --git a/recipes/sm64ex/recipe.toml b/recipes/sm64ex/recipe.toml new file mode 100644 index 000000000..f7db24b52 --- /dev/null +++ b/recipes/sm64ex/recipe.toml @@ -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" +"""