kumquat-buildroot/package/atop/atop.mk
Fabrice Fontaine 30d1b3e573 package/atop: bump to version 2.7.0
Drop patches (already in version)

https://www.atoptool.nl/downloadatop.php

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Tested-by: Ricardo Martincoski <ricardo.martincoski@datacom.com.br>
Reviewed-by: Ricardo Martincoski <ricardo.martincoski@datacom.com.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-12-26 16:01:37 +01:00

30 lines
690 B
Makefile

################################################################################
#
# atop
#
################################################################################
ATOP_VERSION = 2.7.0
ATOP_SITE = http://www.atoptool.nl/download
ATOP_LICENSE = GPL-2.0+
ATOP_LICENSE_FILES = COPYING
ATOP_CPE_ID_VENDOR = atop_project
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))