[oe] [meta-oe][PATCH] libstatgrab: add recipe for libstatgrab-0.92

Jens Rehsack sno at netbsd.org
Fri Sep 13 14:05:33 UTC 2019


With the recent update at begin of summer, which includes the fix
for nxp bsp issues, it's time to bring libstatgrab to more people
than the few who use it in datacenter monitoring.

Language bindings will follow once base library is settled.

Signed-off-by: Jens Rehsack <sno at netbsd.org>
---
 .../libstatgrab/libstatgrab_0.92.bb           | 26 +++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb

diff --git a/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb
new file mode 100644
index 000000000..ab08d8bb2
--- /dev/null
+++ b/meta-oe/recipes-extended/libstatgrab/libstatgrab_0.92.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Utilities to collect and visualise system statistics"
+HOMEPAGE = "http://www.i-scream.org/libstatgrab/"
+
+LICENSE = "GPL-2.0+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
+
+DEPENDS = "ncurses"
+
+PACKAGES_prepend = "statgrab statgrab-dbg saidar saidar-dbg ${PN}-mrtg "
+
+SRCREV = "fa7e1d9fe76c3a1a7ade264c746b3f5edc566f3b"
+SRC_URI = "git://github.com/libstatgrab/libstatgrab.git \
+          "
+# Perl5 is for tests only
+EXTRA_OECONF = "--without-perl5 --with-mnttab=/proc/mounts"
+
+S = "${WORKDIR}/git"
+
+inherit autotools pkgconfig
+
+FILES_statgrab = "${bindir}/statgrab"
+FILES_statgrab-dbg = "${bindir}/.debug/statgrab"
+FILES_saidar = "${bindir}/saidar"
+FILES_saidar-dbg = "${bindir}/.debug/saidar"
+FILES_${PN}-mrtg = "${bindir}/statgrab-make-mrtg-config ${bindir}/statgrab-make-mrtg-index"
+RDEPENDS_${PN}-mrtg_append = "perl statgrab"
-- 
2.17.1



More information about the Openembedded-devel mailing list