From 1b94962aaec5ca60d26aa18a7148c39dc44e4e89 Mon Sep 17 00:00:00 2001 From: Bjørn Mork Date: Tue, 16 May 2017 14:37:24 +0200 Subject: iotop: add MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork --- iotop/Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 iotop/Makefile diff --git a/iotop/Makefile b/iotop/Makefile new file mode 100644 index 0000000..0b27fea --- /dev/null +++ b/iotop/Makefile @@ -0,0 +1,47 @@ +# +# Copyright (C) 2017 Bjørn Mork +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=iotop +PKG_VERSION:=0.6 +PKG_RELEASE:=1 +PKG_MAINTAINER:=Bjørn Mork + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://guichaz.free.fr/iotop/files/ +PKG_MD5SUM:=080fbb494566b5291a2a27cf6c203562 + +PKG_LICENSE:=GPL-2.0+ +PKG_LICENSE_FILES:=COPYING + +include $(INCLUDE_DIR)/package.mk +$(call include_mk, python-package.mk) + +define Package/iotop + SECTION:=utils + CATEGORY:=Utilities + TITLE:=Simple top-like I/O monitor + URL:=http://guichaz.free.fr/iotop/ + DEPENDS:=+python +endef + +define Package/iotop/description + iotop does for I/O usage what top(1) does for CPU usage. It watches I/O + usage information output by the Linux kernel and displays a table of + current I/O usage by processes on the system. It is handy for answering + the question "Why is the disk churning so much?". +endef + +define Build/Compile + $(call Build/Compile/PyMod,,\ + install --prefix=/usr --root="$(PKG_INSTALL_DIR)" \ + ) +endef + +$(eval $(call PyPackage,iotop)) +$(eval $(call BuildPackage,iotop)) -- cgit v1.2.3