From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from dude02.hi.pengutronix.de ([2001:67c:670:100:1d::28] helo=dude02.pengutronix.de.) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1kG2ib-0007a5-8T for ptxdist@pengutronix.de; Wed, 09 Sep 2020 18:13:09 +0200 From: Philipp Zabel Date: Wed, 9 Sep 2020 18:12:19 +0200 Message-Id: <20200909161219.11859-2-p.zabel@pengutronix.de> In-Reply-To: <20200909161219.11859-1-p.zabel@pengutronix.de> References: <20200909161219.11859-1-p.zabel@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH 2/2] bpytop: new package List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Signed-off-by: Philipp Zabel --- rules/bpytop.in | 11 +++++++++ rules/bpytop.make | 60 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 rules/bpytop.in create mode 100644 rules/bpytop.make diff --git a/rules/bpytop.in b/rules/bpytop.in new file mode 100644 index 000000000000..821fbceffc86 --- /dev/null +++ b/rules/bpytop.in @@ -0,0 +1,11 @@ +## SECTION=shell_and_console + +config BPYTOP + tristate + select PYTHON3 + select PYTHON3_DISTUTILS if RUNTIME + select PYTHON3_PSUTIL if RUNTIME + prompt "bpytop" + help + Resource monitor that shows usage and stats for processor, memory, + disks, network and processes. diff --git a/rules/bpytop.make b/rules/bpytop.make new file mode 100644 index 000000000000..a7c37ac75f97 --- /dev/null +++ b/rules/bpytop.make @@ -0,0 +1,60 @@ +# -*-makefile-*- +# +# Copyright (C) 2020 by Philipp Zabel +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_BPYTOP) += bpytop + +# +# Paths and names +# +BPYTOP_VERSION := 1.0.26 +BPYTOP_MD5 := 0f726e1e5c9830a1a346182abdc259a0 +BPYTOP := bpytop-$(BPYTOP_VERSION) +BPYTOP_SUFFIX := tar.gz +BPYTOP_URL := https://github.com/aristocratos/bpytop/archive/v$(BPYTOP_VERSION).$(BPYTOP_SUFFIX) +BPYTOP_SOURCE := $(SRCDIR)/$(BPYTOP).$(BPYTOP_SUFFIX) +BPYTOP_DIR := $(BUILDDIR)/$(BPYTOP) +BPYTOP_LICENSE := Apache-2.0 +BPYTOP_LICENSE_FILES := \ + file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57 + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +BYPTOP_CONF_TOOL := NO + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +BPYTOP_INSTALL_OPT := PREFIX=/usr install + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/bpytop.targetinstall: + @$(call targetinfo) + + @$(call install_init, bpytop) + @$(call install_fixup, bpytop, PRIORITY, optional) + @$(call install_fixup, bpytop, SECTION, base) + @$(call install_fixup, bpytop, AUTHOR, "Philipp Zabel ") + @$(call install_fixup, bpytop, DESCRIPTION, missing) + + @$(call install_copy, bpytop, 0, 0, 0755, -, /usr/bin/bpytop) + @$(call install_tree, bpytop, 0, 0, -, /usr/share/bpytop) + + @$(call install_finish, bpytop) + + @$(call touch) + +# vim: syntax=make -- 2.20.1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de