memstat_1.0.bb 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. LICENSE = "GPLv2"
  9. S = "${WORKDIR}/memstattool"
  10. LIC_FILES_CHKSUM = "file://debian/copyright;md5=87be186443b1ac2cfa466f475e1ee0cb"
  11. SRC_URI = "http://sourceforge.net/projects/memstattool/files/memstat_${PV}.tar.gz \
  12. file://0001-Include-limits.h-for-PATH_MAX-definition.patch \
  13. "
  14. SRC_URI[md5sum] = "2c3acc0c62b2a18f6601b84e54aa7462"
  15. SRC_URI[sha256sum] = "245d5fc7fb87bcfd14486cd34917cae2856e799559ac568434af12c4852bce94"
  16. do_install_append(){
  17. install -d ${D}${bindir}
  18. install -m 0755 memstat ${D}${bindir}
  19. install -d ${D}${sysconfdir}
  20. install -m 0755 memstat.conf ${D}${sysconfdir}
  21. install -d ${D}${mandir}/man1
  22. install -m 0644 memstat.1 ${D}${mandir}/man1
  23. install -d ${D}${docdir}/${BPN}
  24. install -m 0644 memstat-tutorial.txt ${D}${docdir}/${BPN}
  25. }