diff options
Diffstat (limited to 'recipes-support/libp11/libp11_0.4.9.bb')
-rw-r--r-- | recipes-support/libp11/libp11_0.4.9.bb | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/recipes-support/libp11/libp11_0.4.9.bb b/recipes-support/libp11/libp11_0.4.9.bb new file mode 100644 index 0000000..6d0165f --- /dev/null +++ b/recipes-support/libp11/libp11_0.4.9.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "Library for using PKCS" | ||
2 | DESCRIPTION = "\ | ||
3 | Libp11 is a library implementing a small layer on top of PKCS \ | ||
4 | make using PKCS" | ||
5 | HOMEPAGE = "http://www.opensc-project.org/libp11" | ||
6 | SECTION = "Development/Libraries" | ||
7 | LICENSE = "LGPLv2+" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=fad9b3332be894bab9bc501572864b29" | ||
9 | DEPENDS = "libtool openssl" | ||
10 | RDEPENDS_${PN} += " opensc" | ||
11 | |||
12 | SRC_URI = "git://github.com/OpenSC/libp11.git \ | ||
13 | file://0001-Workaround-for-a-buggy-version-of-openssl-1.0.2m.patch" | ||
14 | SRCREV = "e1210903291b1de9eabcad26e740a4b2fbcca692" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit autotools pkgconfig | ||
19 | |||
20 | # Currently, Makefile dependencies are incorrectly defined which causes build errors | ||
21 | # if the number of jobs is high | ||
22 | # See https://github.com/OpenSC/libp11/issues/94 | ||
23 | PARALLEL_MAKE = "" | ||
24 | EXTRA_OECONF = "--disable-static" | ||
25 | |||
26 | do_install_append () { | ||
27 | rm -rf ${D}${libdir}/*.la | ||
28 | rm -rf ${D}${docdir}/${BPN} | ||
29 | } | ||
30 | |||
31 | FILES_${PN} = "${libdir}/engines*/pkcs11.so \ | ||
32 | ${libdir}/engines*/libpkcs11${SOLIBS} \ | ||
33 | ${libdir}/libp11${SOLIBS}" | ||
34 | |||
35 | FILES_${PN}-dev = " \ | ||
36 | ${libdir}/engines*/libpkcs11${SOLIBSDEV} \ | ||
37 | ${libdir}/libp11${SOLIBSDEV} \ | ||
38 | ${libdir}/pkgconfig/libp11.pc \ | ||
39 | /usr/include" | ||