summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt/libgcrypt.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libgcrypt/libgcrypt.inc')
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt.inc40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
new file mode 100644
index 0000000000..43e0291a7b
--- /dev/null
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -0,0 +1,40 @@
1SUMMARY = "General purpose cryptographic library based on the code from GnuPG"
2HOMEPAGE = "http://directory.fsf.org/project/libgcrypt/"
3BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
4SECTION = "libs"
5
6# helper program gcryptrnd and getrandom are under GPL, rest LGPL
7LICENSE = "GPLv2+ & LGPLv2.1+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
9 file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
10
11DEPENDS = "libgpg-error libcap"
12
13SRC_URI = "ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-${PV}.tar.gz \
14 file://add-pkgconfig-support.patch \
15 file://libgcrypt-fix-building-error-with-O2-in-sysroot-path.patch \
16 file://fix-ICE-failure-on-mips-with-option-O-and-g.patch \
17"
18
19BINCONFIG = "${bindir}/libgcrypt-config"
20
21inherit autotools-brokensep texinfo binconfig-disabled pkgconfig
22
23EXTRA_OECONF = "--disable-asm --with-capabilities"
24
25do_configure_prepend () {
26 # Else this could be used in preference to the one in aclocal-copy
27 rm -f ${S}/m4/gpg-error.m4
28}
29
30# libgcrypt.pc is added locally and thus installed here
31do_install_append() {
32 install -d ${D}/${libdir}/pkgconfig
33 install -m 0644 ${B}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
34}
35
36FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"
37
38ARM_INSTRUCTION_SET = "arm"
39
40BBCLASSEXTEND = "native"