meta-openembedded/meta-oe/recipes-devtools/memstat/memstat_1.0.bb
Alexander Kanavin fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
Please see
https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265
for what changes are needed, and sed commands that can be used to make them en masse.

I've verified that bitbake -c patch world works with these, but did not run a world
build; the majority of recipes shouldn't need further fixups, but if there are
some that still fall out, they can be fixed in followups.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-06-25 06:44:52 -07:00

31 lines
1.0 KiB
BlitzBasic

SUMMARY = "Display virtual memory allocation"
DESCRIPTION = "Lists all the processes, executables, and shared libraries \
that are using up virtual memory. It's helpful to see how the shared memory \
is used and which 'old' libs are loaded. \
"
HOMEPAGE = "http://memstattool.sourceforge.net/"
SECTION = "devtool"
LICENSE = "GPL-2.0-only"
S = "${UNPACKDIR}/memstattool"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb"
SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.gz \
file://0001-Include-limits.h-for-PATH_MAX-definition.patch \
"
SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94"
do_install:append(){
install -d ${D}${bindir}
install -m 0755 memstat ${D}${bindir}
install -d ${D}${sysconfdir}
install -m 0755 memstat.conf ${D}${sysconfdir}
install -d ${D}${mandir}/man1
install -m 0644 memstat.1 ${D}${mandir}/man1
install -d ${D}${docdir}/${BPN}
install -m 0644 memstat-tutorial.txt ${D}${docdir}/${BPN}
}