blob: 66a784b53cda8ece21d1a498ee435a68d5c5bffc [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "Utilities for managing processes on your system"
Brad Bishopd7bf8c12018-02-25 22:55:05 -05002HOMEPAGE = "http://psmisc.sf.net/"
Patrick Williamsc124f4f2015-09-15 14:41:29 -05003DESCRIPTION = "The psmisc package contains utilities for managing processes on your \
4system: pstree, killall and fuser. The pstree command displays a tree \
5structure of all of the running processes on your system. The killall \
6command sends a specified signal (SIGTERM if nothing is specified) to \
7processes identified by name. The fuser command identifies the PIDs \
8of processes that are using specified files or filesystems."
9SECTION = "base"
10DEPENDS = "ncurses virtual/libintl"
11LICENSE = "GPLv2"
12
13SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz"
14
15S = "${WORKDIR}/psmisc-${PV}"
16
17inherit autotools gettext
18
Brad Bishop6e60e8b2018-02-01 10:27:11 -050019PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060020PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
21
Patrick Williamsc124f4f2015-09-15 14:41:29 -050022ALLOW_EMPTY_${PN} = "1"
23
24PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc"
25PACKAGES += "psmisc-extras"
26
27FILES_${PN} = ""
28RDEPENDS_${PN} = "fuser killall pstree"
29
30FILES_fuser = "${bindir}/fuser.${BPN}"
31FILES_fuser-doc = "${mandir}/man1/fuser*"
32
33FILES_killall = "${bindir}/killall.${BPN}"
34FILES_killall-doc = "${mandir}/man1/killall*"
35
36FILES_pstree = "${bindir}/pstree"
37FILES_pstree-doc = "${mandir}/man1/pstree*"
38
39FILES_psmisc-extras = "${bindir}"
40FILES_psmisc-extras-doc = "${mandir}"
41
42inherit update-alternatives
43
44ALTERNATIVE_PRIORITY = "90"
45
46ALTERNATIVE_killall = "killall"
47
48ALTERNATIVE_fuser = "fuser"