xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "Provides a way to load and enumerate PKCS#11 modules"
2*4882a593SmuzhiyunDESCRIPTION = " Provides a standard configuration setup for installing PKCS#11 modules in such a way that they're discoverable. Also solves problems with coordinating the use of PKCS#11 by different components or libraries living in the same process."
3*4882a593SmuzhiyunHOMEPAGE = "https://p11-glue.github.io/p11-glue/p11-kit.html"
4*4882a593SmuzhiyunLICENSE = "BSD-3-Clause"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=02933887f609807fbb57aa4237d14a50"
6*4882a593Smuzhiyun
7*4882a593Smuzhiyuninherit meson gettext pkgconfig gtk-doc bash-completion manpages
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunDEPENDS = "libtasn1 libtasn1-native libffi"
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunDEPENDS:append = "${@' glib-2.0' if d.getVar('GTKDOC_ENABLED') == 'True' else ''}"
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunSRC_URI = "git://github.com/p11-glue/p11-kit;branch=master;protocol=https"
14*4882a593SmuzhiyunSRCREV = "dd0590d4e583f107e3e9fafe9ed754149da335d0"
15*4882a593SmuzhiyunS = "${WORKDIR}/git"
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunPACKAGECONFIG ??= ""
18*4882a593SmuzhiyunPACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native"
19*4882a593SmuzhiyunPACKAGECONFIG[trust-paths] = "-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt,,,ca-certificates"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunGTKDOC_MESON_OPTION = 'gtk_doc'
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunFILES:${PN} += " \
24*4882a593Smuzhiyun    ${libdir}/p11-kit-proxy.so \
25*4882a593Smuzhiyun    ${libdir}/pkcs11/*.so \
26*4882a593Smuzhiyun    ${libdir}/pkcs11/*.la \
27*4882a593Smuzhiyun    ${systemd_user_unitdir}/*"
28*4882a593Smuzhiyun
29*4882a593Smuzhiyun# PN contains p11-kit-proxy.so, a symlink to a loadable module
30*4882a593SmuzhiyunINSANE_SKIP:${PN} = "dev-so"
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunBBCLASSEXTEND = "nativesdk"
33