redox/recipes/dev/luarocks/recipe.toml
2026-05-09 07:19:58 +02:00

20 lines
390 B
TOML

[source]
git = "https://github.com/luarocks/luarocks.git"
shallow_clone = true
[build]
template = "custom"
dependencies = [
"lua54"
]
script = """
COOKBOOK_CONFIGURE_FLAGS=(
--sysconfdir=$COOKBOOK_SYSROOT
--with-lua-include=$COOKBOOK_SYSROOT/include
--with-lua-bin=$COOKBOOK_SYSROOT/bin
--with-lua-lib=$COOKBOOK_SYSROOT/lib
)
cd "${COOKBOOK_SOURCE}"
cookbook_configure
"""