mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
htop: enable unicode if possible
Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> [Thomas: - use positive logic - use += instead of = in conditions.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
f148d55980
commit
a75a1d36d2
@@ -7,10 +7,15 @@
|
|||||||
HTOP_VERSION = 2.0.2
|
HTOP_VERSION = 2.0.2
|
||||||
HTOP_SITE = http://hisham.hm/htop/releases/$(HTOP_VERSION)
|
HTOP_SITE = http://hisham.hm/htop/releases/$(HTOP_VERSION)
|
||||||
HTOP_DEPENDENCIES = ncurses
|
HTOP_DEPENDENCIES = ncurses
|
||||||
HTOP_CONF_OPTS = --disable-unicode
|
|
||||||
# Prevent htop build system from searching the host paths
|
# Prevent htop build system from searching the host paths
|
||||||
HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/ncurses5-config
|
HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/ncurses5-config
|
||||||
HTOP_LICENSE = GPLv2
|
HTOP_LICENSE = GPLv2
|
||||||
HTOP_LICENSE_FILES = COPYING
|
HTOP_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
||||||
|
HTOP_CONF_OPTS += --enable-unicode
|
||||||
|
else
|
||||||
|
HTOP_CONF_OPTS += --disable-unicode
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user