diff options
Diffstat (limited to 'meta/packages/psmisc/psmisc_20.2.bb')
-rw-r--r-- | meta/packages/psmisc/psmisc_20.2.bb | 47 |
1 files changed, 3 insertions, 44 deletions
diff --git a/meta/packages/psmisc/psmisc_20.2.bb b/meta/packages/psmisc/psmisc_20.2.bb index 9dec43e15f..90826a8781 100644 --- a/meta/packages/psmisc/psmisc_20.2.bb +++ b/meta/packages/psmisc/psmisc_20.2.bb | |||
@@ -1,46 +1,5 @@ | |||
1 | LICENSE = "GPL" | 1 | require psmisc.inc |
2 | DESCRIPTION = "procfs tools" | ||
3 | SECTION = "base" | ||
4 | PRIORITY = "required" | ||
5 | DEPENDS = "ncurses" | ||
6 | PR = "r4" | ||
7 | 2 | ||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz \ | 3 | PR = "r5" |
9 | file://gettext.patch;patch=1" | ||
10 | S = "${WORKDIR}/psmisc-${PV}" | ||
11 | 4 | ||
12 | inherit autotools gettext | 5 | SRC_URI += "file://gettext.patch;patch=1" |
13 | |||
14 | ALLOW_EMPTY_${PN} = "1" | ||
15 | |||
16 | PACKAGES = "${PN} \ | ||
17 | fuser-dbg fuser fuser-doc \ | ||
18 | killall-dbg killall killall-doc \ | ||
19 | pstree-dbg pstree pstree-doc" | ||
20 | |||
21 | FILES_${PN} = "" | ||
22 | RDEPENDS_${PN} = "fuser killall pstree" | ||
23 | |||
24 | FILES_fuser = "${bindir}/fuser" | ||
25 | FILES_fuser-doc = "${mandir}/man1/fuser*" | ||
26 | FILES_fuser-dbg = "${bindir}/.debug/fuser" | ||
27 | |||
28 | FILES_killall = "${bindir}/killall.${PN}" | ||
29 | FILES_killall-doc = "${mandir}/man1/killall*" | ||
30 | FILES_killall-dbg = "${bindir}/.debug/killall*" | ||
31 | |||
32 | FILES_pstree = "${bindir}/pstree" | ||
33 | FILES_pstree-doc = "${mandir}/man1/pstree*" | ||
34 | FILES_pstree-dbg = "${bindir}/.debug/pstree" | ||
35 | |||
36 | do_install_append() { | ||
37 | mv ${D}${bindir}/killall ${D}${bindir}/killall.${PN} | ||
38 | } | ||
39 | |||
40 | pkg_postinst_killall() { | ||
41 | update-alternatives --install ${bindir}/killall killall killall.${PN} 90 | ||
42 | } | ||
43 | |||
44 | pkg_postrm_killall() { | ||
45 | update-alternatives --remove ${bindir}/killall killall.${PN} | ||
46 | } | ||