redox/recipes/demos/cmatrix/recipe.toml
2025-06-12 11:09:34 -06:00

30 lines
522 B
TOML

[source]
git = "https://github.com/abishekvashok/cmatrix"
script = """
autoreconf -i
"""
[build]
template = "custom"
dependencies = [
"ncursesw"
]
script = """
export LIBS="-lncursesw"
COOKBOOK_CONFIGURE_FLAGS+=(
--without-fonts
)
"${COOKBOOK_CONFIGURE}" "${COOKBOOK_CONFIGURE_FLAGS[@]}"
sed -i -e 's|#define USE_TIOCSTI 1|/* #undef USE_TIOCSTI */|g' config.h
"${COOKBOOK_MAKE}" -j "${COOKBOOK_MAKE_JOBS}"
"${COOKBOOK_MAKE}" install DESTDIR="${COOKBOOK_STAGE}"
"""
[package]
dependencies = [
"terminfo"
]