termux-packages/packages/htop-legacy/build.sh

24 lines
799 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://hisham.hm/htop/
2015-06-13 01:03:31 +02:00
TERMUX_PKG_DESCRIPTION="Interactive process viewer for Linux"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="GPL-2.0"
# DO NOT UPDATE
2020-09-02 14:35:19 +02:00
TERMUX_PKG_VERSION=1:2.2.0
TERMUX_PKG_SRCURL=https://github.com/htop-dev/htop/archive/${TERMUX_PKG_VERSION:2}.tar.gz
TERMUX_PKG_SHA256=fb23275090ee5fb19266384c39c69519c8b3844b8f6444730094949c621197c0
2016-09-04 00:15:47 +02:00
# htop checks setlocale() return value for UTF-8 support, so use libandroid-support.
TERMUX_PKG_DEPENDS="ncurses, libandroid-support"
2020-09-02 14:34:19 +02:00
TERMUX_PKG_CONFLICTS="htop"
TERMUX_PKG_REPLACES="htop"
2020-09-02 14:34:53 +02:00
TERMUX_PKG_PROVIDES="htop"
TERMUX_PKG_BUILD_IN_SRC=true
2015-06-13 01:03:31 +02:00
TERMUX_PKG_RM_AFTER_INSTALL="share/applications share/pixmaps"
2018-03-05 17:00:05 +01:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
ac_cv_lib_ncursesw6_addnwstr=yes
LIBS=-landroid-support
"
termux_step_pre_configure() {
./autogen.sh
}