redox/recipes/tui/mdp/recipe.toml
2025-06-12 11:09:34 -06:00

20 lines
448 B
TOML

[source]
git = "https://github.com/visit1985/mdp.git"
[build]
template = "custom"
dependencies = [
"ncursesw",
"terminfo"
]
script = """
rsync -av --delete --exclude='.git' "${COOKBOOK_SOURCE}/" ./
export CFLAGS="-I${COOKBOOK_SYSROOT}/include -I${COOKBOOK_SYSROOT}/include/ncursesw"
export LDFLAGS="-L${COOKBOOK_SYSROOT}/lib"
"${COOKBOOK_MAKE}" -j"$(${NPROC})"
# Install
"${REDOX_MAKE}" DESTDIR="${COOKBOOK_STAGE}" PREFIX="" install
"""