diff options
author | Ricardo Martincoski <ricardo.martincoski@datacom.ind.br> | 2016-10-07 17:30:28 -0300 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-10-07 22:58:00 +0200 |
commit | 2a809e7fb1a41c858f7a630a536c9bd341c866fa (patch) | |
tree | 6040e6bb05a5b374a8bc1f148104f733282081ba /package/atop/atop.mk | |
parent | 702bf6597dd6445c3c00b7142f67195ac8d9b5e2 (diff) |
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>
Diffstat (limited to 'package/atop/atop.mk')
-rw-r--r-- | package/atop/atop.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/atop/atop.mk b/package/atop/atop.mk new file mode 100644 index 000000000..27e1f8215 --- /dev/null +++ b/package/atop/atop.mk @@ -0,0 +1,21 @@ +################################################################################ +# +# 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)) |