diff --git a/recipes/openjk/recipe.toml b/recipes/openjk/recipe.toml new file mode 100644 index 000000000..5e64617ed --- /dev/null +++ b/recipes/openjk/recipe.toml @@ -0,0 +1,54 @@ +[source] +git = "https://github.com/jackpot51/OpenJK" +upstream = "https://github.com/JACoders/OpenJK.git" + +[build] +template = "custom" +dependencies = [ + "libjpeg", + "liborbital", + "libpng", + "llvm", + "mesa", + "sdl2", + "zlib", +] +script = """ +export CFLAGS="${CFLAGS} -I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2" +export CXXFLAGS="${CXXFLAGS} -I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/SDL2" +cat > redox.cmake <