From 73352a83a24b03f54f1cf683c23898bcb9ef1746 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Thu, 7 Nov 2019 16:56:57 +0100 Subject: [PATCH] libp11: add recipe for v0.4.10 This is the version Microchip recommends to use in for the newer cryptoauthlib with pkcs11 support. This recipe was backported from the zeus branch of meta-openembedded. https://jira.digi.com/browse/DEL-6826 Signed-off-by: Gabriel Valcazar --- .../recipes-support/libp11/libp11_0.4.10.bb | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 meta-digi-dey/recipes-support/libp11/libp11_0.4.10.bb diff --git a/meta-digi-dey/recipes-support/libp11/libp11_0.4.10.bb b/meta-digi-dey/recipes-support/libp11/libp11_0.4.10.bb new file mode 100644 index 000000000..b40223e8a --- /dev/null +++ b/meta-digi-dey/recipes-support/libp11/libp11_0.4.10.bb @@ -0,0 +1,26 @@ +SUMMARY = "Library for using PKCS" +DESCRIPTION = "\ +Libp11 is a library implementing a small layer on top of PKCS \ +make using PKCS" +HOMEPAGE = "https://github.com/OpenSC/libp11" +BUGTRACKER = "https://github.com/OpenSC/libp11/issues" +SECTION = "Development/Libraries" +LICENSE = "LGPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29" +DEPENDS = "libtool openssl" + +SRC_URI = "git://github.com/OpenSC/libp11.git" +SRCREV = "973d31f3f58d5549ddd8b1f822ce8f72186f9d68" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +EXTRA_OECONF = "--disable-static" + +do_install_append () { + rm -rf ${D}${docdir}/${BPN} +} + +FILES_${PN} += "${libdir}/engines*/pkcs11.so" +FILES_${PN}-dev += "${libdir}/engines*/libpkcs11${SOLIBSDEV}"