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
|
|
|
|
2016-07-23 03:00:16 +02:00
|
|
|
HTOP_VERSION = 2.0.2
|
2014-04-28 14:01:35 +02:00
|
|
|
HTOP_SITE = http://hisham.hm/htop/releases/$(HTOP_VERSION)
|
2011-03-28 20:47:58 +02:00
|
|
|
HTOP_DEPENDENCIES = ncurses
|
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)
|
2017-03-30 15:43:32 +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
|
|
|
|
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
|
|
|
|
|
2017-02-26 22:12:04 +01:00
|
|
|
# ARC uses an old uClibc that needs dladdr() for backtrace support,
|
|
|
|
# which doesn't work for static only scenario, so as a workaround, we
|
|
|
|
# pretend that execinfo.h is not available.
|
|
|
|
ifeq ($(BR2_arc)$(BR2_STATIC_LIBS),yy)
|
|
|
|
HTOP_CONF_ENV += ac_cv_header_execinfo_h=no
|
|
|
|
endif
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|