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