mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] btop: new package
@ 2024-07-19 14:01 Philipp Zabel
  2024-08-05  6:49 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Philipp Zabel @ 2024-07-19 14:01 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
---
 rules/btop.in   |  8 ++++++
 rules/btop.make | 65 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)
 create mode 100644 rules/btop.in
 create mode 100644 rules/btop.make

diff --git a/rules/btop.in b/rules/btop.in
new file mode 100644
index 000000000000..4b5011299517
--- /dev/null
+++ b/rules/btop.in
@@ -0,0 +1,8 @@
+## SECTION=shell_and_console
+config BTOP
+	tristate
+	select HOST_CMAKE
+	prompt "btop"
+	help
+	  Resource monitor that shows usage and stats for processor, memory,
+	  disks, network and processes.
diff --git a/rules/btop.make b/rules/btop.make
new file mode 100644
index 000000000000..1102485c45c6
--- /dev/null
+++ b/rules/btop.make
@@ -0,0 +1,65 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 by Philipp Zabel <p.zabel@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_BTOP) += btop
+
+#
+# Paths and names
+#
+BTOP_VERSION	:= 1.3.2
+BTOP_MD5	:= 04ff8d32e7bf748705fe34dfea50c628
+BTOP		:= btop-$(BTOP_VERSION)
+BTOP_SUFFIX	:= tar.gz
+BTOP_URL	:= https://github.com/aristocratos/btop/archive/v$(BTOP_VERSION).$(BTOP_SUFFIX)
+BTOP_SOURCE	:= $(SRCDIR)/$(BTOP).$(BTOP_SUFFIX)
+BTOP_DIR	:= $(BUILDDIR)/$(BTOP)
+BTOP_LICENSE	:= Apache-2.0
+BTOP_LICENSE_FILES := \
+	file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+BTOP_CONF_TOOL	:= cmake
+BTOP_CONF_TOOL	:= cmake
+BTOP_CONF_OPT	:= \
+	$(CROSS_CMAKE_USR) \
+	-DBTOP_FORTIFY=ON \
+	-DBTOP_GPU=ON \
+	-DBTOP_LTO=OFF \
+	-DBTOP_PEDANTIC=OFF \
+	-DBTOP_RSMI_STATIC=OFF \
+	-DBTOP_STATIC=OFF \
+	-DBTOP_USE_MOLD=OFF \
+	-DBTOP_WERROR=OFF
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/btop.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, btop)
+	@$(call install_fixup, btop,PRIORITY,optional)
+	@$(call install_fixup, btop,SECTION,base)
+	@$(call install_fixup, btop,AUTHOR,"Philipp Zabel <p.zabel@pengutronix.de>")
+	@$(call install_fixup, btop,DESCRIPTION,A monitor of resources)
+
+	@$(call install_copy, btop, 0, 0, 0755, -, /usr/bin/btop)
+	@$(call install_tree, btop, 0, 0, -, /usr/share/btop/themes)
+
+	@$(call install_finish, btop)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [APPLIED] btop: new package
  2024-07-19 14:01 [ptxdist] [PATCH] btop: new package Philipp Zabel
@ 2024-08-05  6:49 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2024-08-05  6:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Philipp Zabel

Thanks, applied as c11c1f4f64c5f0e04f3d69d3ec323ce5d0974488.

Michael

[sent from post-receive hook]

On Mon, 05 Aug 2024 08:49:47 +0200, Philipp Zabel <p.zabel@pengutronix.de> wrote:
> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
> Message-Id: <20240719140155.722372-1-p.zabel@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/btop.in b/rules/btop.in
> new file mode 100644
> index 000000000000..4b5011299517
> --- /dev/null
> +++ b/rules/btop.in
> @@ -0,0 +1,8 @@
> +## SECTION=shell_and_console
> +config BTOP
> +	tristate
> +	select HOST_CMAKE
> +	prompt "btop"
> +	help
> +	  Resource monitor that shows usage and stats for processor, memory,
> +	  disks, network and processes.
> diff --git a/rules/btop.make b/rules/btop.make
> new file mode 100644
> index 000000000000..35f5527052dc
> --- /dev/null
> +++ b/rules/btop.make
> @@ -0,0 +1,64 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2024 by Philipp Zabel <p.zabel@pengutronix.de>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_BTOP) += btop
> +
> +#
> +# Paths and names
> +#
> +BTOP_VERSION	:= 1.3.2
> +BTOP_MD5	:= 04ff8d32e7bf748705fe34dfea50c628
> +BTOP		:= btop-$(BTOP_VERSION)
> +BTOP_SUFFIX	:= tar.gz
> +BTOP_URL	:= https://github.com/aristocratos/btop/archive/v$(BTOP_VERSION).$(BTOP_SUFFIX)
> +BTOP_SOURCE	:= $(SRCDIR)/$(BTOP).$(BTOP_SUFFIX)
> +BTOP_DIR	:= $(BUILDDIR)/$(BTOP)
> +BTOP_LICENSE	:= Apache-2.0
> +BTOP_LICENSE_FILES := \
> +	file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +BTOP_CONF_TOOL	:= cmake
> +BTOP_CONF_OPT	:= \
> +	$(CROSS_CMAKE_USR) \
> +	-DBTOP_FORTIFY=ON \
> +	-DBTOP_GPU=ON \
> +	-DBTOP_LTO=OFF \
> +	-DBTOP_PEDANTIC=OFF \
> +	-DBTOP_RSMI_STATIC=OFF \
> +	-DBTOP_STATIC=OFF \
> +	-DBTOP_USE_MOLD=OFF \
> +	-DBTOP_WERROR=OFF
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/btop.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, btop)
> +	@$(call install_fixup, btop,PRIORITY,optional)
> +	@$(call install_fixup, btop,SECTION,base)
> +	@$(call install_fixup, btop,AUTHOR,"Philipp Zabel <p.zabel@pengutronix.de>")
> +	@$(call install_fixup, btop,DESCRIPTION,A monitor of resources)
> +
> +	@$(call install_copy, btop, 0, 0, 0755, -, /usr/bin/btop)
> +	@$(call install_tree, btop, 0, 0, -, /usr/share/btop/themes)
> +
> +	@$(call install_finish, btop)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-05  6:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-19 14:01 [ptxdist] [PATCH] btop: new package Philipp Zabel
2024-08-05  6:49 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox