xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/libassuan/libassuan_2.5.5.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "IPC library used by GnuPG and GPGME"
2*4882a593SmuzhiyunDESCRIPTION = "A small library implementing the so-called Assuan protocol. \
3*4882a593SmuzhiyunThis protocol is used for IPC between most newer GnuPG components. \
4*4882a593SmuzhiyunBoth, server and client side functions are provided. "
5*4882a593SmuzhiyunHOMEPAGE = "http://www.gnupg.org/related_software/libassuan/"
6*4882a593SmuzhiyunBUGTRACKER = "https://bugs.g10code.com/gnupg/index"
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunLICENSE = "GPL-3.0-or-later & LGPL-2.1-or-later"
9*4882a593SmuzhiyunLICENSE:${PN} = "LGPL-2.1-or-later"
10*4882a593SmuzhiyunLICENSE:${PN}-doc = "GPL-3.0-or-later"
11*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
12*4882a593Smuzhiyun                    file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
13*4882a593Smuzhiyun                    file://src/assuan.c;endline=20;md5=ab92143a5a2adabd06d7994d1467ea5c\
14*4882a593Smuzhiyun                    file://src/assuan-defs.h;endline=20;md5=15d950c83e82978e35b35e790d7e4d39"
15*4882a593Smuzhiyun
16*4882a593SmuzhiyunDEPENDS = "libgpg-error"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunUPSTREAM_CHECK_URI = "https://gnupg.org/download/index.html"
19*4882a593SmuzhiyunSRC_URI = "${GNUPG_MIRROR}/libassuan/libassuan-${PV}.tar.bz2 \
20*4882a593Smuzhiyun           file://libassuan-add-pkgconfig-support.patch \
21*4882a593Smuzhiyun          "
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunSRC_URI[sha256sum] = "8e8c2fcc982f9ca67dcbb1d95e2dc746b1739a4668bc20b3a3c5be632edb34e4"
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunBINCONFIG = "${bindir}/libassuan-config"
26*4882a593Smuzhiyun
27*4882a593Smuzhiyuninherit autotools texinfo binconfig-disabled pkgconfig multilib_header
28*4882a593Smuzhiyun
29*4882a593Smuzhiyundo_configure:prepend () {
30*4882a593Smuzhiyun	# Else these could be used in preference to those in aclocal-copy
31*4882a593Smuzhiyun	rm -f ${S}/m4/*.m4
32*4882a593Smuzhiyun}
33*4882a593Smuzhiyun
34*4882a593Smuzhiyundo_install:append () {
35*4882a593Smuzhiyun    oe_multilib_header assuan.h
36*4882a593Smuzhiyun}
37*4882a593Smuzhiyun
38*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
39