diff --git a/config/x86_64/ci.toml b/config/x86_64/ci.toml index b22114c7..66f0ca25 100644 --- a/config/x86_64/ci.toml +++ b/config/x86_64/ci.toml @@ -210,6 +210,7 @@ tokei = {} ttf-hack = {} userutils = {} uutils = {} +uutils-procps = {} vim = {} vttest = {} wayland-rs = {} diff --git a/recipes/wip/rs/uutils-procps/recipe.toml b/recipes/wip/rs/uutils-procps/recipe.toml index fc936169..9fc042cc 100644 --- a/recipes/wip/rs/uutils-procps/recipe.toml +++ b/recipes/wip/rs/uutils-procps/recipe.toml @@ -1,6 +1,22 @@ -#TODO not compiled or tested +#TODO: common libc functions such as getsid +#TODO: only watch is working [source] git = "https://github.com/uutils/procps" shallow_clone = true [build] -template = "cargo" +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 +""" +