94.1. htop-3.5.3
Interactive process viewer
3.5.3-1 · GPL-2.0-or-later · 0.3 SBU · 484.8 KiB, 6 files · 41_system, 965 of 1047 · ports/core/sysmon/htop
Homepage: https://htop.dev/
Depends on: ncurses, lm-sensors, libnl, libcap, libunwind-nongnu.
Required by: no port names it.
Sources: htop-3.5.3.tar.gz (476.0 KiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install htop'
build.sh:
./autogen.sh
./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man \
--enable-sensors \
--enable-delayacct \
--enable-capabilities \
--enable-backtrace=unwind-ptrace \
--with-libunwind=yes \
--disable-demangling
make
make DESTDIR=$PKG install
install -d "$PKG/usr/share/applications"
cat > "$PKG/usr/share/applications/htop.desktop" <<'EOF'
[Desktop Entry]
Type=Application
Name=Process Viewer
GenericName=Process Viewer
Comment=Watch and signal running processes
Exec=htop
Icon=speedometer
Terminal=true
Categories=System;Monitor;
Keywords=process;task;kill;monitor;htop;
EOF
chmod 644 "$PKG/usr/share/applications/htop.desktop"
Programs: htop.
Directories: /usr/share/licenses/htop.