psmisc_23.7.bb 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. SUMMARY = "Utilities for managing processes on your system"
  2. HOMEPAGE = "http://psmisc.sf.net/"
  3. DESCRIPTION = "The psmisc package contains utilities for managing processes on your \
  4. system: pstree, killall and fuser. The pstree command displays a tree \
  5. structure of all of the running processes on your system. The killall \
  6. command sends a specified signal (SIGTERM if nothing is specified) to \
  7. processes identified by name. The fuser command identifies the PIDs \
  8. of processes that are using specified files or filesystems."
  9. SECTION = "base"
  10. DEPENDS = "ncurses virtual/libintl"
  11. LICENSE = "GPL-2.0-only"
  12. LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
  13. SRC_URI = "git://gitlab.com/psmisc/psmisc.git;protocol=https;branch=master \
  14. "
  15. SRCREV = "9091d6dbcce3d8fb87adf9249a2eb346d25a562c"
  16. S = "${WORKDIR}/git"
  17. inherit autotools gettext
  18. # Upstream has a custom autogen.sh which invokes po/update-potfiles as they
  19. # don't ship a po/POTFILES.in (which is silly). Without that file gettext
  20. # doesn't believe po/ is a gettext directory and won't generate po/Makefile.
  21. do_configure:prepend() {
  22. ( cd ${S} && po/update-potfiles )
  23. }
  24. PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
  25. PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
  26. PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
  27. ALLOW_EMPTY:${PN} = "1"
  28. PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc"
  29. PACKAGES += "psmisc-extras"
  30. FILES:${PN} = ""
  31. RDEPENDS:${PN} = "fuser killall pstree"
  32. FILES:fuser = "${bindir}/fuser.${BPN}"
  33. FILES:fuser-doc = "${mandir}/man1/fuser*"
  34. FILES:killall = "${bindir}/killall.${BPN}"
  35. FILES:killall-doc = "${mandir}/man1/killall*"
  36. FILES:pstree = "${bindir}/pstree"
  37. FILES:pstree-doc = "${mandir}/man1/pstree*"
  38. FILES:psmisc-extras = "${bindir}"
  39. FILES:psmisc-extras-doc = "${mandir}"
  40. inherit update-alternatives
  41. ALTERNATIVE_PRIORITY = "90"
  42. ALTERNATIVE:killall = "killall"
  43. ALTERNATIVE:fuser = "fuser"
  44. ALTERNATIVE:pstree = "pstree"