2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-03-28 20:47:58 +02:00
|
|
|
#
|
|
|
|
# htop
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-03-28 20:47:58 +02:00
|
|
|
|
2021-10-17 15:24:58 +02:00
|
|
|
HTOP_VERSION = 3.1.1
|
2021-07-25 14:57:46 +02:00
|
|
|
HTOP_SITE = $(call github,htop-dev,htop,$(HTOP_VERSION))
|
2011-03-28 20:47:58 +02:00
|
|
|
HTOP_DEPENDENCIES = ncurses
|
2021-07-25 14:57:46 +02:00
|
|
|
HTOP_AUTORECONF = YES
|
2016-07-10 22:59:34 +02:00
|
|
|
# Prevent htop build system from searching the host paths
|
2017-03-26 08:36:54 +02:00
|
|
|
HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)
|
2021-10-25 18:16:14 +02:00
|
|
|
HTOP_LICENSE = GPL-2.0+
|
2013-04-24 14:57:04 +02:00
|
|
|
HTOP_LICENSE_FILES = COPYING
|
2011-03-28 20:47:58 +02:00
|
|
|
|
2021-10-03 10:13:26 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_HWLOC),y)
|
|
|
|
HTOP_CONF_OPTS += --enable-hwloc
|
|
|
|
HTOP_DEPENDENCIES += hwloc
|
|
|
|
else
|
|
|
|
HTOP_CONF_OPTS += --disable-hwloc
|
|
|
|
endif
|
|
|
|
|
2021-10-03 10:13:25 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBCAP),y)
|
|
|
|
HTOP_CONF_OPTS += --enable-capabilities
|
|
|
|
HTOP_DEPENDENCIES += libcap
|
|
|
|
else
|
|
|
|
HTOP_CONF_OPTS += --disable-capabilities
|
|
|
|
endif
|
|
|
|
|
2021-01-30 18:14:55 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LM_SENSORS),y)
|
|
|
|
HTOP_CONF_OPTS += --with-sensors
|
|
|
|
HTOP_DEPENDENCIES += lm-sensors
|
|
|
|
else
|
|
|
|
HTOP_CONF_OPTS += --without-sensors
|
|
|
|
endif
|
|
|
|
|
2016-11-14 12:04:48 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
|
|
|
HTOP_CONF_OPTS += --enable-unicode
|
|
|
|
else
|
|
|
|
HTOP_CONF_OPTS += --disable-unicode
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|