smemstat: add recipe

This is useful to see which processes use physical memory.

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jan Luebbe
2023-02-14 16:17:56 +01:00
committed by Khem Raj
parent 4a6ac691f2
commit 58cfd6ba88
@@ -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
}