2016-10-07 22:30:28 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# atop
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-01-09 15:10:50 +01:00
|
|
|
ATOP_VERSION = 2.7.1
|
2016-10-07 22:30:28 +02:00
|
|
|
ATOP_SITE = http://www.atoptool.nl/download
|
2017-03-30 15:43:32 +02:00
|
|
|
ATOP_LICENSE = GPL-2.0+
|
2016-10-07 22:30:28 +02:00
|
|
|
ATOP_LICENSE_FILES = COPYING
|
2021-03-05 23:27:44 +01:00
|
|
|
ATOP_CPE_ID_VENDOR = atop_project
|
2016-10-07 22:30:28 +02:00
|
|
|
ATOP_DEPENDENCIES = ncurses zlib
|
|
|
|
|
2019-05-21 15:39:22 +02:00
|
|
|
ATOP_CFLAGS = $(TARGET_CFLAGS)
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
|
|
|
ATOP_CFLAGS += -O0
|
|
|
|
endif
|
|
|
|
|
2016-10-07 22:30:28 +02:00
|
|
|
define ATOP_BUILD_CMDS
|
2019-05-21 15:39:22 +02:00
|
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(ATOP_CFLAGS)" \
|
|
|
|
-C $(@D)
|
2016-10-07 22:30:28 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define ATOP_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -D -m 0755 $(@D)/atop $(TARGET_DIR)/usr/bin/atop
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|