9ddc1b5c93
cpe:2.3🅰️atop_project:atop is a valid CPE identifier for this package: https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Aatop_project%3Aatop Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
30 lines
680 B
Makefile
30 lines
680 B
Makefile
################################################################################
|
|
#
|
|
# atop
|
|
#
|
|
################################################################################
|
|
|
|
ATOP_VERSION = 2.5.0
|
|
ATOP_SITE = http://www.atoptool.nl/download
|
|
ATOP_LICENSE = GPL-2.0+
|
|
ATOP_LICENSE_FILES = COPYING
|
|
ATOP_CPE_ID_VALID = YES
|
|
ATOP_DEPENDENCIES = ncurses zlib
|
|
|
|
ATOP_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
|
ATOP_CFLAGS += -O0
|
|
endif
|
|
|
|
define ATOP_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(ATOP_CFLAGS)" \
|
|
-C $(@D)
|
|
endef
|
|
|
|
define ATOP_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/atop $(TARGET_DIR)/usr/bin/atop
|
|
endef
|
|
|
|
$(eval $(generic-package))
|