redox/recipes/wip/rs/uutils-procps/recipe.toml
2026-05-01 10:43:43 +07:00

23 lines
454 B
TOML

#TODO: common libc functions such as getsid
#TODO: only watch is working
[source]
git = "https://github.com/uutils/procps"
shallow_clone = true
[build]
template = "custom"
script = """
DYNAMIC_INIT
# TODO: more features support?
CARGO_PROFILE_RELEASE_LTO=thin cookbook_cargo --no-default-features --features pmap,slabtop,sysctl,tload,vmstat,watch
BINS=(
watch
)
for bin in "${BINS[@]}"
do
ln -sv procps "${COOKBOOK_STAGE}/usr/bin/$bin"
done
"""