2016-10-07 22:30:28 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# atop
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-01-28 03:14:05 +01:00
|
|
|
ATOP_VERSION = 2.4.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
|
|
|
|
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))
|