Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Display virtual memory allocation" |
| 2 | DESCRIPTION = "Lists all the processes, executables, and shared libraries \ |
| 3 | that are using up virtual memory. It's helpful to see how the shared memory \ |
| 4 | is used and which 'old' libs are loaded. \ |
| 5 | " |
| 6 | HOMEPAGE = "http://memstattool.sourceforge.net/" |
| 7 | SECTION = "devtool" |
| 8 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 9 | LICENSE = "GPL-2.0-only" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 10 | |
| 11 | S = "${WORKDIR}/memstattool" |
| 12 | |
| 13 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb" |
| 14 | |
| 15 | SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.gz \ |
Brad Bishop | 7f28bc5 | 2017-12-03 23:42:40 -0500 | [diff] [blame] | 16 | file://0001-Include-limits.h-for-PATH_MAX-definition.patch \ |
| 17 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 18 | |
| 19 | SRC_URI[md5sum] = "2c3acc0c62b2a18f6601b84e54aa7462" |
| 20 | SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94" |
| 21 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | do_install:append(){ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 23 | install -d ${D}${bindir} |
| 24 | install -m 0755 memstat ${D}${bindir} |
| 25 | install -d ${D}${sysconfdir} |
| 26 | install -m 0755 memstat.conf ${D}${sysconfdir} |
| 27 | install -d ${D}${mandir}/man1 |
| 28 | install -m 0644 memstat.1 ${D}${mandir}/man1 |
| 29 | install -d ${D}${docdir}/${BPN} |
| 30 | install -m 0644 memstat-tutorial.txt ${D}${docdir}/${BPN} |
| 31 | } |