diff options
Diffstat (limited to 'meta/recipes-extended/psmisc/psmisc.inc')
-rw-r--r-- | meta/recipes-extended/psmisc/psmisc.inc | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/meta/recipes-extended/psmisc/psmisc.inc b/meta/recipes-extended/psmisc/psmisc.inc index 6ab1288152..23e98d21be 100644 --- a/meta/recipes-extended/psmisc/psmisc.inc +++ b/meta/recipes-extended/psmisc/psmisc.inc | |||
@@ -8,7 +8,7 @@ processes identified by name. The fuser command identifies the PIDs \ | |||
8 | of processes that are using specified files or filesystems." | 8 | of processes that are using specified files or filesystems." |
9 | SECTION = "base" | 9 | SECTION = "base" |
10 | DEPENDS = "ncurses virtual/libintl" | 10 | DEPENDS = "ncurses virtual/libintl" |
11 | LICENSE = "GPLv2" | 11 | LICENSE = "GPL-2.0-only" |
12 | 12 | ||
13 | SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz" | 13 | SRC_URI = "${SOURCEFORGE_MIRROR}/psmisc/psmisc-${PV}.tar.gz" |
14 | 14 | ||
@@ -19,38 +19,41 @@ inherit autotools gettext | |||
19 | # Upstream has a custom autogen.sh which invokes po/update-potfiles as they | 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 | 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. | 21 | # doesn't believe po/ is a gettext directory and won't generate po/Makefile. |
22 | do_configure_prepend() { | 22 | do_configure:prepend() { |
23 | ( cd ${S} && po/update-potfiles ) | 23 | ( cd ${S} && po/update-potfiles ) |
24 | } | 24 | } |
25 | 25 | ||
26 | 26 | ||
27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" | 27 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}" |
28 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | 28 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
29 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" | ||
29 | 30 | ||
30 | ALLOW_EMPTY_${PN} = "1" | 31 | ALLOW_EMPTY:${PN} = "1" |
31 | 32 | ||
32 | PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc" | 33 | PACKAGES =+ "fuser fuser-doc killall killall-doc pstree pstree-doc" |
33 | PACKAGES += "psmisc-extras" | 34 | PACKAGES += "psmisc-extras" |
34 | 35 | ||
35 | FILES_${PN} = "" | 36 | FILES:${PN} = "" |
36 | RDEPENDS_${PN} = "fuser killall pstree" | 37 | RDEPENDS:${PN} = "fuser killall pstree" |
37 | 38 | ||
38 | FILES_fuser = "${bindir}/fuser.${BPN}" | 39 | FILES:fuser = "${bindir}/fuser.${BPN}" |
39 | FILES_fuser-doc = "${mandir}/man1/fuser*" | 40 | FILES:fuser-doc = "${mandir}/man1/fuser*" |
40 | 41 | ||
41 | FILES_killall = "${bindir}/killall.${BPN}" | 42 | FILES:killall = "${bindir}/killall.${BPN}" |
42 | FILES_killall-doc = "${mandir}/man1/killall*" | 43 | FILES:killall-doc = "${mandir}/man1/killall*" |
43 | 44 | ||
44 | FILES_pstree = "${bindir}/pstree" | 45 | FILES:pstree = "${bindir}/pstree" |
45 | FILES_pstree-doc = "${mandir}/man1/pstree*" | 46 | FILES:pstree-doc = "${mandir}/man1/pstree*" |
46 | 47 | ||
47 | FILES_psmisc-extras = "${bindir}" | 48 | FILES:psmisc-extras = "${bindir}" |
48 | FILES_psmisc-extras-doc = "${mandir}" | 49 | FILES:psmisc-extras-doc = "${mandir}" |
49 | 50 | ||
50 | inherit update-alternatives | 51 | inherit update-alternatives |
51 | 52 | ||
52 | ALTERNATIVE_PRIORITY = "90" | 53 | ALTERNATIVE_PRIORITY = "90" |
53 | 54 | ||
54 | ALTERNATIVE_killall = "killall" | 55 | ALTERNATIVE:killall = "killall" |
55 | 56 | ||
56 | ALTERNATIVE_fuser = "fuser" | 57 | ALTERNATIVE:fuser = "fuser" |
58 | |||
59 | ALTERNATIVE:pstree = "pstree" | ||