blob: 68e06561f9f2339507f8a7841aa645376bbfc434 [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
18ALLOW_EMPTY_${PN} = "1"
19
20PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc"
21PACKAGES += "psmisc-extras"
22
23FILES_${PN} = ""
24RDEPENDS_${PN} = "fuser killall pstree"
25
26FILES_fuser = "${bindir}/fuser.${BPN}"
27FILES_fuser-doc = "${mandir}/man1/fuser*"
28
29FILES_killall = "${bindir}/killall.${BPN}"
30FILES_killall-doc = "${mandir}/man1/killall*"
31
32FILES_pstree = "${bindir}/pstree"
33FILES_pstree-doc = "${mandir}/man1/pstree*"
34
35FILES_psmisc-extras = "${bindir}"
36FILES_psmisc-extras-doc = "${mandir}"
37
38inherit update-alternatives
39
40ALTERNATIVE_PRIORITY = "90"
41
42ALTERNATIVE_killall = "killall"
43
44ALTERNATIVE_fuser = "fuser"