diff options
Diffstat (limited to 'meta/recipes-extended/psmisc/psmisc.inc')
-rw-r--r-- | meta/recipes-extended/psmisc/psmisc.inc | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/meta/recipes-extended/psmisc/psmisc.inc b/meta/recipes-extended/psmisc/psmisc.inc deleted file mode 100644 index 23e98d21be..0000000000 --- a/meta/recipes-extended/psmisc/psmisc.inc +++ /dev/null | |||
@@ -1,59 +0,0 @@ | |||
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 | |||
13 | SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz" | ||
14 | |||
15 | S = "${WORKDIR}/psmisc-${PV}" | ||
16 | |||
17 | inherit autotools gettext | ||
18 | |||
19 | # Upstream has a custom autogen.sh which invokes po/update-potfiles as they | ||
20 | # don't ship a po/POTFILES.in (which is silly). Without that file gettext | ||
21 | # doesn't believe po/ is a gettext directory and won't generate po/Makefile. | ||
22 | do_configure:prepend() { | ||
23 | ( cd ${S} && po/update-potfiles ) | ||
24 | } | ||
25 | |||
26 | |||
27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | ||
28 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
29 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||
30 | |||
31 | ALLOW_EMPTY:${PN} = "1" | ||
32 | |||
33 | PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc" | ||
34 | PACKAGES += "psmisc-extras" | ||
35 | |||
36 | FILES:${PN} = "" | ||
37 | RDEPENDS:${PN} = "fuser killall pstree" | ||
38 | |||
39 | FILES:fuser = "${bindir}/fuser.${BPN}" | ||
40 | FILES:fuser-doc = "${mandir}/man1/fuser*" | ||
41 | |||
42 | FILES:killall = "${bindir}/killall.${BPN}" | ||
43 | FILES:killall-doc = "${mandir}/man1/killall*" | ||
44 | |||
45 | FILES:pstree = "${bindir}/pstree" | ||
46 | FILES:pstree-doc = "${mandir}/man1/pstree*" | ||
47 | |||
48 | FILES:psmisc-extras = "${bindir}" | ||
49 | FILES:psmisc-extras-doc = "${mandir}" | ||
50 | |||
51 | inherit update-alternatives | ||
52 | |||
53 | ALTERNATIVE_PRIORITY = "90" | ||
54 | |||
55 | ALTERNATIVE:killall = "killall" | ||
56 | |||
57 | ALTERNATIVE:fuser = "fuser" | ||
58 | |||
59 | ALTERNATIVE:pstree = "pstree" | ||