kumquat-buildroot/package/atop/atop.mk
Ricardo Martincoski 2a809e7fb1 atop: new package
Atop is an ASCII full-screen performance monitor for Linux.

- install only the basic functionality (command line tool atop).

- add patch to fix musl build by removing unused include of termio.h.
  Patch was accepted upstream.

Support for extra functionality can be added by follow-up patches:
- init scripts (sysv and systemd) to autostart logging the system
  activity.
- process accounting (needs counterpart enabled in the kernel).

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-07 22:58:00 +02:00

22 lines
524 B
Makefile

################################################################################
#
# atop
#
################################################################################
ATOP_VERSION = 2.2-3
ATOP_SITE = http://www.atoptool.nl/download
ATOP_LICENSE = GPLv2+
ATOP_LICENSE_FILES = COPYING
ATOP_DEPENDENCIES = ncurses zlib
define ATOP_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define ATOP_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/atop $(TARGET_DIR)/usr/bin/atop
endef
$(eval $(generic-package))