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