af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
29 lines
907 B
Makefile
29 lines
907 B
Makefile
################################################################################
|
|
#
|
|
# htop
|
|
#
|
|
################################################################################
|
|
|
|
HTOP_VERSION = 2.0.2
|
|
HTOP_SITE = http://hisham.hm/htop/releases/$(HTOP_VERSION)
|
|
HTOP_DEPENDENCIES = ncurses
|
|
# Prevent htop build system from searching the host paths
|
|
HTOP_CONF_ENV = HTOP_NCURSES_CONFIG_SCRIPT=$(STAGING_DIR)/usr/bin/$(NCURSES_CONFIG_SCRIPTS)
|
|
HTOP_LICENSE = GPL-2.0
|
|
HTOP_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
|
HTOP_CONF_OPTS += --enable-unicode
|
|
else
|
|
HTOP_CONF_OPTS += --disable-unicode
|
|
endif
|
|
|
|
# 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
|
|
|
|
$(eval $(autotools-package))
|