From 58cfd6ba88397f43bcc111f69f850558d6e28860 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Tue, 14 Feb 2023 16:17:56 +0100 Subject: [PATCH] smemstat: add recipe This is useful to see which processes use physical memory. Signed-off-by: Jan Luebbe Signed-off-by: Khem Raj --- .../smemstat/smemstat_0.02.11.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb diff --git a/meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb b/meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb new file mode 100644 index 0000000000..21f315b1c2 --- /dev/null +++ b/meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb @@ -0,0 +1,22 @@ +SUMMARY = "smemstat reports the physical memory usage taking into consideration shared memory" +HOMEPAGE = "https://github.com/ColinIanKing/smemstat" +LICENSE = "GPL-2.0-or-later" + +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +DEPENDS = "ncurses" + +SRC_URI = "git://github.com/ColinIanKing/smemstat.git;protocol=https;branch=master" +SRCREV = "9eea7504ab33783d804c4ed9237e299effb68874" + +S = "${WORKDIR}/git" + +inherit bash-completion + +do_compile () { + oe_runmake smemstat +} + +do_install () { + oe_runmake DESTDIR=${D} install +}