diff options
Diffstat (limited to 'meta/recipes-extended/psmisc/psmisc_23.7.bb')
-rw-r--r-- | meta/recipes-extended/psmisc/psmisc_23.7.bb | 57 |
1 files changed, 55 insertions, 2 deletions
diff --git a/meta/recipes-extended/psmisc/psmisc_23.7.bb b/meta/recipes-extended/psmisc/psmisc_23.7.bb index ea272cd92d..4128ca0533 100644 --- a/meta/recipes-extended/psmisc/psmisc_23.7.bb +++ b/meta/recipes-extended/psmisc/psmisc_23.7.bb | |||
@@ -1,9 +1,62 @@ | |||
1 | require psmisc.inc | 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 | |||
2 | LICENSE = "GPL-2.0-only" | 12 | LICENSE = "GPL-2.0-only" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" |
4 | 14 | ||
5 | SRC_URI = "git://gitlab.com/psmisc/psmisc.git;protocol=https;branch=master \ | 15 | SRC_URI = "git://gitlab.com/psmisc/psmisc.git;protocol=https;branch=master \ |
6 | file://0001-Use-UINTPTR_MAX-instead-of-__WORDSIZE.patch \ | ||
7 | " | 16 | " |
8 | SRCREV = "9091d6dbcce3d8fb87adf9249a2eb346d25a562c" | 17 | SRCREV = "9091d6dbcce3d8fb87adf9249a2eb346d25a562c" |
9 | S = "${WORKDIR}/git" | 18 | S = "${WORKDIR}/git" |
19 | |||
20 | inherit autotools gettext | ||
21 | |||
22 | # Upstream has a custom autogen.sh which invokes po/update-potfiles as they | ||
23 | # don't ship a po/POTFILES.in (which is silly). Without that file gettext | ||
24 | # doesn't believe po/ is a gettext directory and won't generate po/Makefile. | ||
25 | do_configure:prepend() { | ||
26 | ( cd ${S} && po/update-potfiles ) | ||
27 | } | ||
28 | |||
29 | |||
30 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
31 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
32 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||
33 | |||
34 | ALLOW_EMPTY:${PN} = "1" | ||
35 | |||
36 | PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc" | ||
37 | PACKAGES += "psmisc-extras" | ||
38 | |||
39 | FILES:${PN} = "" | ||
40 | RDEPENDS:${PN} = "fuser killall pstree" | ||
41 | |||
42 | FILES:fuser = "${bindir}/fuser.${BPN}" | ||
43 | FILES:fuser-doc = "${mandir}/man1/fuser*" | ||
44 | |||
45 | FILES:killall = "${bindir}/killall.${BPN}" | ||
46 | FILES:killall-doc = "${mandir}/man1/killall*" | ||
47 | |||
48 | FILES:pstree = "${bindir}/pstree" | ||
49 | FILES:pstree-doc = "${mandir}/man1/pstree*" | ||
50 | |||
51 | FILES:psmisc-extras = "${bindir}" | ||
52 | FILES:psmisc-extras-doc = "${mandir}" | ||
53 | |||
54 | inherit update-alternatives | ||
55 | |||
56 | ALTERNATIVE_PRIORITY = "90" | ||
57 | |||
58 | ALTERNATIVE:killall = "killall" | ||
59 | |||
60 | ALTERNATIVE:fuser = "fuser" | ||
61 | |||
62 | ALTERNATIVE:pstree = "pstree" | ||