package/htop: add lm-sensors optional dependency
lm-sensors is an optional dependency (enabled by default) since version
3.0.3 and
1b225cd7a0
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
42db2c7236
commit
811846df48
@ -12,6 +12,13 @@ HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/$(NCURSES_CONF
|
||||
HTOP_LICENSE = GPL-2.0
|
||||
HTOP_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LM_SENSORS),y)
|
||||
HTOP_CONF_OPTS += --with-sensors
|
||||
HTOP_DEPENDENCIES += lm-sensors
|
||||
else
|
||||
HTOP_CONF_OPTS += --without-sensors
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
||||
HTOP_CONF_OPTS += --enable-unicode
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user