diff options
Diffstat (limited to 'meta/recipes-support')
-rw-r--r-- | meta/recipes-support/gnupg/gnupg_2.2.17.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-support/gnupg/gnupg_2.2.17.bb b/meta/recipes-support/gnupg/gnupg_2.2.17.bb index 689cf8a75e..ab19a1ad11 100644 --- a/meta/recipes-support/gnupg/gnupg_2.2.17.bb +++ b/meta/recipes-support/gnupg/gnupg_2.2.17.bb | |||
@@ -29,6 +29,21 @@ EXTRA_OECONF = "--disable-ldap \ | |||
29 | --with-readline=${STAGING_LIBDIR}/.. \ | 29 | --with-readline=${STAGING_LIBDIR}/.. \ |
30 | --enable-gpg-is-gpg2 \ | 30 | --enable-gpg-is-gpg2 \ |
31 | " | 31 | " |
32 | |||
33 | # A minimal package containing just enough to run gpg+gpgagent (E.g. use gpgme in opkg) | ||
34 | PACKAGES =+ "${PN}-gpg" | ||
35 | FILES_${PN}-gpg = " \ | ||
36 | ${bindir}/gpg \ | ||
37 | ${bindir}/gpg2 \ | ||
38 | ${bindir}/gpg-agent \ | ||
39 | " | ||
40 | |||
41 | # Normal package (gnupg) should depend on minimal package (gnupg-gpg) | ||
42 | # to ensure all tools are included. This is done only in non-native | ||
43 | # builds. Native builds don't have sub-packages, so appending RDEPENDS | ||
44 | # in this case breaks recipe parsing. | ||
45 | RDEPENDS_${PN} += "${@ "" if ("native" in d.getVar("PN")) else (d.getVar("PN") + "-gpg")}" | ||
46 | |||
32 | RRECOMMENDS_${PN} = "pinentry" | 47 | RRECOMMENDS_${PN} = "pinentry" |
33 | 48 | ||
34 | do_configure_prepend () { | 49 | do_configure_prepend () { |