mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-03 02:13:29 +08:00
package/htop: add optional dependency libcap
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
349b0a08f6
commit
1b63bbb851
@ -13,6 +13,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_LIBCAP),y)
|
||||
HTOP_CONF_OPTS += --enable-capabilities
|
||||
HTOP_DEPENDENCIES += libcap
|
||||
else
|
||||
HTOP_CONF_OPTS += --disable-capabilities
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LM_SENSORS),y)
|
||||
HTOP_CONF_OPTS += --with-sensors
|
||||
HTOP_DEPENDENCIES += lm-sensors
|
||||
|
Loading…
Reference in New Issue
Block a user