9a742a1d88
- drop 0001-native-affinity.patch as it was replaced upstream [1]. Autoreconf could be dropped - drop conf env ac_cv_file__proc_stat=yes ac_cv_file__proc_meminfo=yes because these tests no longer run when cross-compiling [2] - upstream created a custom check function to use ncurses*-config [3] but it does not allow to override the path to ncurses*-config, leading to a build failure as the htop build system would search the path of host tools. A new patch 0001-Allow-to-override-ncurses-config-path.patch allows this override [4]. It brings back the need to autoreconf - set path to ncurses5-config in conf env in order to avoid the htop build system finding it in the path of host tools [1]dfad0afb36
[2]b561956637
[3]96c929f82b
[4]666f12f60f
Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
19 lines
614 B
Makefile
19 lines
614 B
Makefile
################################################################################
|
|
#
|
|
# htop
|
|
#
|
|
################################################################################
|
|
|
|
HTOP_VERSION = 2.0.1
|
|
HTOP_SITE = http://hisham.hm/htop/releases/$(HTOP_VERSION)
|
|
HTOP_DEPENDENCIES = ncurses
|
|
# For 0001-Allow-to-override-ncurses-config-path.patch
|
|
HTOP_AUTORECONF = YES
|
|
HTOP_CONF_OPTS = --disable-unicode
|
|
# Prevent htop build system from searching the host paths
|
|
HTOP_CONF_ENV = htop_ncurses_config_script=$(STAGING_DIR)/usr/bin/ncurses5-config
|
|
HTOP_LICENSE = GPLv2
|
|
HTOP_LICENSE_FILES = COPYING
|
|
|
|
$(eval $(autotools-package))
|