blob: 2bab3ac9554b3c1ee61afad9b3fb72c991308e86 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001SUMMARY = "IPC library used by GnuPG and GPGME"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "A small library implementing the so-called Assuan protocol. \
3This protocol is used for IPC between most newer GnuPG components. \
4Both, server and client side functions are provided. "
Brad Bishop19323692019-04-05 15:28:33 -04005HOMEPAGE = "http://www.gnupg.org/related_software/libassuan/"
6BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
7
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00008LICENSE = "GPL-3.0-or-later & LGPL-2.1-or-later"
9LICENSE:${PN} = "LGPL-2.1-or-later"
10LICENSE:${PN}-doc = "GPL-3.0-or-later"
Brad Bishop19323692019-04-05 15:28:33 -040011LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
12 file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
13 file://src/assuan.c;endline=20;md5=ab92143a5a2adabd06d7994d1467ea5c\
14 file://src/assuan-defs.h;endline=20;md5=15d950c83e82978e35b35e790d7e4d39"
15
16DEPENDS = "libgpg-error"
17
18UPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
19SRC_URI = "${GNUPG_MIRROR}/libassuan/libassuan-${PV}.tar.bz2 \
20 file://libassuan-add-pkgconfig-support.patch \
21 "
22
Andrew Geisslerc926e172021-05-07 16:11:35 -050023SRC_URI[sha256sum] = "8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4"
Brad Bishop19323692019-04-05 15:28:33 -040024
25BINCONFIG = "${bindir}/libassuan-config"
26
Andrew Geissler82c905d2020-04-13 13:39:40 -050027inherit autotools texinfo binconfig-disabled pkgconfig multilib_header
Brad Bishop19323692019-04-05 15:28:33 -040028
Patrick Williams213cb262021-08-07 19:21:33 -050029do_configure:prepend () {
Brad Bishop19323692019-04-05 15:28:33 -040030 # Else these could be used in preference to those in aclocal-copy
31 rm -f ${S}/m4/*.m4
32}
33
Patrick Williams213cb262021-08-07 19:21:33 -050034do_install:append () {
Andrew Geissler82c905d2020-04-13 13:39:40 -050035 oe_multilib_header assuan.h
36}
37
Brad Bishop19323692019-04-05 15:28:33 -040038BBCLASSEXTEND = "native nativesdk"