478138f042
htop v3.x requires root, SELinux permissive or Lineage OS ENG build in order to work because access to /proc/stat is restricted.
21 lines
740 B
Bash
21 lines
740 B
Bash
TERMUX_PKG_HOMEPAGE=https://htop.dev/
|
|
TERMUX_PKG_DESCRIPTION="Interactive process viewer for Linux"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_VERSION=3.0.0
|
|
TERMUX_PKG_REVISION=3
|
|
TERMUX_PKG_SRCURL=https://github.com/htop-dev/htop/archive/${TERMUX_PKG_VERSION}/htop-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=1c0661f0ae5f4e2874da250b60cd515e4ac4c041583221adfe95f10e18d1a4e6
|
|
# htop checks setlocale() return value for UTF-8 support, so use libandroid-support.
|
|
TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
|
TERMUX_PKG_RM_AFTER_INSTALL="share/applications share/pixmaps"
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
ac_cv_lib_ncursesw6_addnwstr=yes
|
|
LIBS=-landroid-support
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
./autogen.sh
|
|
}
|