On Tue, 2023-02-14 at 14:33 +0100, Martin Jansa wrote:
> FWIW: this was in meta-luneos for a while:
> https://github.com/webOS-ports/meta-webos-ports/blob/master/meta-luneos/recipes-devtools/smemstat/smemstat_git.bb
>
> since
> https://github.com/webOS-ports/meta-webos-ports/commit/9c73ce110a6cd97a476c6be
> ff10f9d8648cffea6
Ah, I could probably pick the install via make DESTDIR=${D}.
> I didn't compare the output from your version, but does it set the VERSION
> correctly now?
It seems to work:
root@qemux86-64:~# smemstat -h
smemstat, version 0.02.11
...
Regards,
Jan
> Regards,
>
> On Tue, Feb 14, 2023 at 2:14 PM Jan Luebbe <[email protected]> wrote:
> > This is useful to see which processes use physical memory.
> >
> > Signed-off-by: Jan Luebbe <[email protected]>
> > ---
> > .../smemstat/smemstat_0.02.11.bb | 27 +++++++++++++++++++
> > 1 file changed, 27 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 000000000000..37015ce6bdc1
> > --- /dev/null
> > +++ b/meta-oe/recipes-devtools/smemstat/smemstat_0.02.11.bb
> > @@ -0,0 +1,27 @@
> > +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"
> > +
> > +do_configure () {
> > + :
> > +}
> > +
> > +do_compile () {
> > + oe_runmake
> > +}
> > +
> > +do_install () {
> > + install -d -m 755 ${D}${sbindir}
> > + install -m 755 ${B}/smemstat ${D}${sbindir}/
> > + install -d -m 755 ${D}${mandir}/man8
> > + install -m 644 ${S}/smemstat.8 ${D}${mandir}/man8/
> > +}
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#101075):
https://lists.openembedded.org/g/openembedded-devel/message/101075
Mute This Topic: https://lists.openembedded.org/mt/96961058/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-