diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-18 15:11:16 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2008-01-18 15:11:16 +0000 |
commit | bed9c6e971fc409ff02f56dad5961e6edc3bd7ea (patch) | |
tree | 9175ba7957ccf10e308d154a625256df0d60d352 /meta/packages/psmisc/psmisc.inc | |
parent | 979d581764369a0bd618a6445a43c068a3ed3aaa (diff) | |
download | poky-bed9c6e971fc409ff02f56dad5961e6edc3bd7ea.tar.gz |
psmisc: upgraded to 22.2 from OE (with uClibc fix)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3543 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/psmisc/psmisc.inc')
-rw-r--r-- | meta/packages/psmisc/psmisc.inc | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta/packages/psmisc/psmisc.inc b/meta/packages/psmisc/psmisc.inc new file mode 100644 index 0000000000..d489891d64 --- /dev/null +++ b/meta/packages/psmisc/psmisc.inc | |||
@@ -0,0 +1,55 @@ | |||
1 | LICENSE = "GPL" | ||
2 | DESCRIPTION = "procfs tools" | ||
3 | SECTION = "base" | ||
4 | PRIORITY = "required" | ||
5 | DEPENDS = "ncurses virtual/libintl" | ||
6 | |||
7 | SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz \ | ||
8 | file://libintl-link.patch;patch=1" | ||
9 | S = "${WORKDIR}/psmisc-${PV}" | ||
10 | |||
11 | inherit autotools gettext | ||
12 | |||
13 | ALLOW_EMPTY = "1" | ||
14 | |||
15 | PACKAGES = "${PN} \ | ||
16 | fuser-dbg fuser fuser-doc \ | ||
17 | killall-dbg killall killall-doc \ | ||
18 | pstree-dbg pstree pstree-doc" | ||
19 | |||
20 | FILES_${PN} = "" | ||
21 | RDEPENDS_${PN} = "fuser killall pstree" | ||
22 | |||
23 | FILES_fuser = "${bindir}/fuser.${PN}" | ||
24 | FILES_fuser-doc = "${mandir}/man1/fuser*" | ||
25 | FILES_fuser-dbg = "${bindir}/.debug/fuser" | ||
26 | |||
27 | FILES_killall = "${bindir}/killall.${PN}" | ||
28 | FILES_killall-doc = "${mandir}/man1/killall*" | ||
29 | FILES_killall-dbg = "${bindir}/.debug/killall*" | ||
30 | |||
31 | FILES_pstree = "${bindir}/pstree" | ||
32 | FILES_pstree-doc = "${mandir}/man1/pstree*" | ||
33 | FILES_pstree-dbg = "${bindir}/.debug/pstree" | ||
34 | |||
35 | do_install_append() { | ||
36 | mv ${D}${bindir}/killall ${D}${bindir}/killall.${PN} | ||
37 | mv ${D}${bindir}/fuser ${D}${bindir}/fuser.${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 | } | ||
47 | |||
48 | pkg_postinst_fuser() { | ||
49 | update-alternatives --install ${bindir}/fuser fuser fuser.${PN} 90 | ||
50 | } | ||
51 | |||
52 | pkg_postrm_fuser() { | ||
53 | update-alternatives --remove ${bindir}/fuser fuser.${PN} | ||
54 | } | ||
55 | |||