2016-10-07 22:30:28 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# atop
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-12-31 04:11:50 +01:00
|
|
|
ATOP_VERSION = 2.5.0
|
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-01-17 17:27:11 +01:00
|
|
|
ATOP_CPE_ID_VALID = YES
|
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))
|