@@ -3,8 +3,9 @@ HOMEPAGE = "http://directory.fsf.org/project/libgcrypt/"
inherit autotools-autoreconf binconfig pkgconfig library
-DEPENDS = "libgpg-error libcap2"
-DEPENDS_${PN} += "libgpg-error libcap2"
+DEPENDS = "libgpg-error libcap"
+DEPENDS_${PN} += "libgpg-error libcap libcap"
+RDEPENDS_${PN} += "libgpg-error libc libcap"
SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz"
@@ -26,3 +27,8 @@ FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"
inherit auto-package-utils
AUTO_PACKAGE_UTILS = "dumpsexp hmac256"
+
+DEPENDS_${PN}-dumpsexp += "libc libcap"
+RDEPENDS_${PN}-dumpsexp += "libc libcap"
+DEPENDS_${PN}-hmac256 += "libc libcap"
+RDEPENDS_${PN}-hmac256 += "libc libcap"
new file mode 100644
@@ -0,0 +1,6 @@
+require libgcrypt.inc
+
+# helper program gcryptrnd and getrandom are under GPL, rest LGPL
+LICENSE = "GPLv2+ & LGPLv2.1+"
+
+SRC_URI += "file://add-pkgconfig-support.patch"
new file mode 100644
@@ -0,0 +1 @@
+184405c91d1ab4877caefb1a6458767e5f0b639e libgcrypt-1.5.3.tar.gz
From: Kim Bøndergaard <kibo@prevas.dk> (cherry picked from commit 22916a8927d4afb685943d10bd473cd94ca8ed78) --- recipes/libgcrypt/libgcrypt.inc | 10 ++++++++-- recipes/libgcrypt/libgcrypt_1.5.3.oe | 6 ++++++ recipes/libgcrypt/libgcrypt_1.5.3.oe.sig | 1 + 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 recipes/libgcrypt/libgcrypt_1.5.3.oe create mode 100644 recipes/libgcrypt/libgcrypt_1.5.3.oe.sig