pcsc-tools: update to 1.6.1
[feed/packages.git] / admin / atop / Makefile
1 #
2 # This is free software, licensed under the GNU General Public License v2.
3 # See /LICENSE for more information.
4 #
5
6 include $(TOPDIR)/rules.mk
7
8 PKG_NAME:=atop
9 PKG_RELEASE:=1
10 PKG_VERSION:=2.7.1
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
13 PKG_SOURCE_URL:=https://www.atoptool.nl/download/
14 PKG_HASH:=ca48d2f17e071deead5e6e9cc9e388bf6a3270d695e61976b3794d4d927b5c4e
15
16 PKG_MAINTAINER:=Toni Uhlig <matzeton@googlemail.com>
17 PKG_LICENSE:=GPL-2.0-or-later
18 PKG_LICENSE_FILES:=COPYING
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/atop
23 SECTION:=admin
24 CATEGORY:=Administration
25 TITLE:=System and process monitor for Linux
26 DEPENDS:=+zlib +libncurses
27 URL:=https://www.atoptool.nl/
28 endef
29
30 define Package/atop/description
31 Atop is an ASCII full-screen performance monitor for
32 Linux that is capable of reporting the activity of all
33 processes (even if processes have finished during the
34 interval), daily logging of system and process activity
35 for long-term analysis, highlighting overloaded system
36 resources by using colors, etcetera. At regular
37 intervals, it shows system-level activity related to the
38 CPU, memory, swap, disks (including LVM) and network
39 layers, and for every process (and thread) it shows e.g.
40 the CPU utilization, memory growth, disk utilization,
41 priority, username, state, and exit code. In combination
42 with the optional kernel module netatop, it even shows
43 network activity per process/thread.
44 endef
45
46 MAKE_FLAGS += \
47 CFLAGS+="-Wno-misleading-indentation -Wno-unused-const-variable -Wno-format-truncation"
48
49 define Package/atop/install
50 $(INSTALL_DIR) $(1)/usr/bin
51 $(INSTALL_BIN) $(PKG_BUILD_DIR)/atop $(1)/usr/bin/
52 endef
53
54 $(eval $(call BuildPackage,atop))