summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb')
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb56
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb b/meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb
new file mode 100644
index 0000000000..14cbe53647
--- /dev/null
+++ b/meta/recipes-support/libgcrypt/libgcrypt_1.11.1.bb
@@ -0,0 +1,56 @@
1SUMMARY = "General purpose cryptographic library based on the code from GnuPG"
2DESCRIPTION = "A cryptography library developed as a separated module of GnuPG. \
3It can also be used independently of GnuPG, but depends on its error-reporting \
4library Libgpg-error."
5HOMEPAGE = "http://directory.fsf.org/project/libgcrypt/"
6BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
7SECTION = "libs"
8
9LICENSE = "GPL-2.0-or-later & LGPL-2.1-or-later & BSD-3-Clause"
10LICENSE:${PN} = "LGPL-2.1-or-later & BSD-3-Clause"
11LICENSE:${PN}-dev = "GPL-2.0-or-later & LGPL-2.1-or-later"
12
13LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
14 file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
15 file://LICENSES;md5=034b4e369944ad4b52a68368f1cf98b8 \
16 "
17
18DEPENDS = "libgpg-error"
19
20UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
21SRC_URI = "${GNUPG_MIRROR}/libgcrypt/libgcrypt-${PV}.tar.bz2 \
22 file://0001-libgcrypt-fix-m4-file-for-oe-core.patch \
23 file://0004-tests-Makefile.am-fix-undefined-reference-to-pthread.patch \
24 file://0001-tests-Fix-link-errors-for-t-thread-local.patch \
25 file://no-native-gpg-error.patch \
26 file://no-bench-slope.patch \
27 file://run-ptest \
28 "
29SRC_URI[sha256sum] = "24e91c9123a46c54e8371f3a3a2502f1198f2893fbfbf59af95bc1c21499b00e"
30
31BINCONFIG = "${bindir}/libgcrypt-config"
32
33inherit autotools texinfo binconfig-disabled pkgconfig ptest
34
35require recipes-support/gnupg/drop-unknown-suffix.inc
36
37EXTRA_OECONF = "--disable-asm"
38EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'"
39
40PACKAGECONFIG ??= "capabilities"
41PACKAGECONFIG[capabilities] = "--with-capabilities,--without-capabilities,libcap"
42
43do_configure:prepend () {
44 # Else this could be used in preference to the one in aclocal-copy
45 rm -f ${S}/m4/gpg-error.m4
46}
47
48do_install_ptest() {
49 cd tests
50 oe_runmake testdrv-build testdrv
51 install testdrv $(srcdir=${S}/tests ./testdrv-build --files | sort | uniq) ${D}${PTEST_PATH}
52}
53
54FILES:${PN}-dev += "${bindir}/hmac256 ${bindir}/dumpsexp"
55
56BBCLASSEXTEND = "native nativesdk"