20 lines
718 B
Bash
20 lines
718 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.1
|
|
TERMUX_PKG_SRCURL=https://github.com/htop-dev/htop/archive/${TERMUX_PKG_VERSION}/htop-${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=8465164bc085f5f1813e1d3f6c4b9b56bf4c95cc12226a5367e65794949b01ca
|
|
# 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
|
|
}
|