# HG changeset patch # User Hans-G?nter Theisgen # Date 1659101647 -3600 # Node ID a733757937916e652bf5d61c349985846de71b1a # Parent 03bcf02499abe76b9df505d877a049e5c1e73f5a updated tmux-mem-cpu-load (3.4.0 -> 3.6.0) diff -r 03bcf02499ab -r a73375793791 tmux-mem-cpu-load/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tmux-mem-cpu-load/description.txt Fri Jul 29 14:34:07 2022 +0100 @@ -0,0 +1,9 @@ +A simple, lightweight program provided for system monitoring in the +status line of tmux. + +The memory monitor displays the used and available memory. + +The CPU usage monitor outputs a percent CPU usage over all processors. +It also displays a textual bar graph of the current percent usage. + +The system load average is also displayed. diff -r 03bcf02499ab -r a73375793791 tmux-mem-cpu-load/receipt --- a/tmux-mem-cpu-load/receipt Fri Jul 29 14:23:40 2022 +0100 +++ b/tmux-mem-cpu-load/receipt Fri Jul 29 14:34:07 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="tmux-mem-cpu-load" -VERSION="3.4.0" +VERSION="3.6.0" CATEGORY="utilities" SHORT_DESC="CPU, RAM, and load monitor for use with tmux." MAINTAINER="paul@slitaz.org" @@ -23,7 +23,10 @@ # Rules to configure and make the package. compile_rules() { - cmake . -DCMAKE_INSTALL_PREFIX=/usr + mkdir _build && + cd _build && + cmake .. \ + -D CMAKE_INSTALL_PREFIX=/usr && make && make install } @@ -34,7 +37,7 @@ mkdir -p $fs/usr mkdir -p $fs/etc/skel - cp -a $install/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr cat >> $fs/etc/skel/.tmux.conf << EOT # tmux-mem-cpu-load set -g status-interval 2 @@ -46,9 +49,10 @@ { for i in $(ls "$1/home" 2> /dev/null) do - grep -qs "tmux-mem-cpu-load" "$1/home/$i/.tmux.conf" && continue + grep -qs "tmux-mem-cpu-load" "$1/home/$i/.tmux.conf" && + continue echo -n "Checking for .tmux.conf for $i ..." - cp -a "$1/etc/skel/.tmux.conf" "$1/home/$i/" + cp -a "$1/etc/skel/.tmux.conf" "$1/home/$i/" chroot "$1/" chown $(stat -c "%u.%g" "$1/home/$i") "/home/$i/.tmux.conf" status done