All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] collectl: new package
@ 2019-09-18 18:19 Francois Perrad
  2019-09-19 21:16 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2019-09-18 18:19 UTC (permalink / raw)
  To: buildroot

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 DEVELOPERS                     |  1 +
 package/Config.in              |  1 +
 package/collectl/Config.in     | 11 +++++++++++
 package/collectl/collectl.hash |  5 +++++
 package/collectl/collectl.mk   | 18 ++++++++++++++++++
 5 files changed, 36 insertions(+)
 create mode 100644 package/collectl/Config.in
 create mode 100644 package/collectl/collectl.hash
 create mode 100644 package/collectl/collectl.mk

diff --git a/DEVELOPERS b/DEVELOPERS
index e452a1cbb..529d28f78 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -877,6 +877,7 @@ F:	package/4th/
 F:	package/cgilua/
 F:	package/chipmunk/
 F:	package/cog/
+F:	package/collectl/
 F:	package/copas/
 F:	package/coxpcall/
 F:	package/dado/
diff --git a/package/Config.in b/package/Config.in
index 42dccf068..0260ddc82 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1828,6 +1828,7 @@ menu "Miscellaneous"
 	source "package/bitcoin/Config.in"
 	source "package/clamav/Config.in"
 	source "package/collectd/Config.in"
+	source "package/collectl/Config.in"
 	source "package/domoticz/Config.in"
 	source "package/empty/Config.in"
 	source "package/gnuradio/Config.in"
diff --git a/package/collectl/Config.in b/package/collectl/Config.in
new file mode 100644
index 000000000..baa30b4f6
--- /dev/null
+++ b/package/collectl/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_COLLECTL
+	bool "collectl"
+	select BR2_PACKAGE_PERL # runtime
+	help
+	  Collectl is a performance monitoring and benchmark tool that
+	  tries to do it all. You can choose to monitor any of a broad
+	  set of subsystems which currently include buddyinfo, cpu,
+	  disk, inodes, infiniband, lustre, memory, network, nfs,
+	  processes, quadrics, slabs, sockets and tcp.
+
+	  http://collectl.sourceforge.net/
diff --git a/package/collectl/collectl.hash b/package/collectl/collectl.hash
new file mode 100644
index 000000000..d866e0bec
--- /dev/null
+++ b/package/collectl/collectl.hash
@@ -0,0 +1,5 @@
+# Locally calculated
+sha256 2187264d974b36a653c8a4b028ac6eeab23e1885f8b2563a33f06358f39889f1  collectl-4.3.1.src.tar.gz
+sha256 b92800d37afa2aa03c02817ff3b68efc7236436fe76af06ad9b1fc4682f59bcb  ARTISTIC
+sha256 264fe27852db5624e6a9a9845b4e14e91ee5007305b33e5556dfade394d578a8  COPYING
+sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6  GPL
diff --git a/package/collectl/collectl.mk b/package/collectl/collectl.mk
new file mode 100644
index 000000000..c9fb59293
--- /dev/null
+++ b/package/collectl/collectl.mk
@@ -0,0 +1,18 @@
+################################################################################
+#
+# collectl
+#
+################################################################################
+
+COLLECTL_VERSION = 4.3.1
+COLLECTL_SOURCE = collectl-$(COLLECTL_VERSION).src.tar.gz
+COLLECTL_SITE = http://downloads.sourceforge.net/collectl/collectl
+COLLECTL_LICENSE = Artistic or GPL-2.0
+COLLECTL_LICENSE_FILES = COPYING ARTISTIC GPL
+
+define COLLECTL_INSTALL_TARGET_CMDS
+	(cd $(@D); \
+		DESTDIR=$(TARGET_DIR) ./INSTALL)
+endef
+
+$(eval $(generic-package))
-- 
2.20.1

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

* [Buildroot] [PATCH] collectl: new package
  2019-09-18 18:19 [Buildroot] [PATCH] collectl: new package Francois Perrad
@ 2019-09-19 21:16 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-09-19 21:16 UTC (permalink / raw)
  To: buildroot

Hello Fran?ois,

On Wed, 18 Sep 2019 20:19:37 +0200
Francois Perrad <fperrad@gmail.com> wrote:

> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>

I've applied to master, but two comments:

 - The prefix of the commit title should have been package/collectl

 - You forgot to propagate the depends on BR2_USE_MMU dependency of
   perl, which you need since you're selecting BR2_PACKAGE_PERL.

I fixed those two issues before applying. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

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

end of thread, other threads:[~2019-09-19 21:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-18 18:19 [Buildroot] [PATCH] collectl: new package Francois Perrad
2019-09-19 21:16 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.