diff options
Diffstat (limited to 'meta-oe/recipes-support/opensc/opensc_0.25.1.bb')
-rw-r--r-- | meta-oe/recipes-support/opensc/opensc_0.25.1.bb | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opensc/opensc_0.25.1.bb b/meta-oe/recipes-support/opensc/opensc_0.25.1.bb new file mode 100644 index 000000000..19fb78092 --- /dev/null +++ b/meta-oe/recipes-support/opensc/opensc_0.25.1.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | SUMMARY = "Smart card library and applications" | ||
2 | DESCRIPTION = "OpenSC is a tool for accessing smart card devices. Basic\ | ||
3 | functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO\ | ||
4 | 7816-4 compatible smart card. Encryption and decryption using private\ | ||
5 | keys on the smart card is possible with PKCS\ | ||
6 | such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten\ | ||
7 | eID cards have also been confirmed to work." | ||
8 | |||
9 | HOMEPAGE = "https://github.com/OpenSC/OpenSC/wiki" | ||
10 | SECTION = "System Environment/Libraries" | ||
11 | LICENSE = "LGPL-2.0-or-later" | ||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7" | ||
13 | |||
14 | #v0.21.0 | ||
15 | SRCREV = "0a4b772d6fdab9bfaaa3123775a48a7cb6c5e7c6" | ||
16 | SRC_URI = "git://github.com/OpenSC/OpenSC;branch=stable-0.25;protocol=https" | ||
17 | DEPENDS = "virtual/libiconv openssl" | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | inherit autotools pkgconfig bash-completion | ||
21 | |||
22 | EXTRA_OECONF = " \ | ||
23 | --disable-static \ | ||
24 | --disable-ctapi \ | ||
25 | --disable-doc \ | ||
26 | --disable-strict \ | ||
27 | " | ||
28 | EXTRA_OEMAKE = "DESTDIR=${D}" | ||
29 | |||
30 | PACKAGECONFIG ??= "pcsc" | ||
31 | |||
32 | PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct" | ||
33 | PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite,pcsc-lite pcsc-lite-lib" | ||
34 | |||
35 | RDEPENDS:${PN} = "readline" | ||
36 | |||
37 | FILES:${PN} += "\ | ||
38 | ${libdir}/opensc-pkcs11.so \ | ||
39 | ${libdir}/onepin-opensc-pkcs11.so \ | ||
40 | ${libdir}/pkcs11-spy.so \ | ||
41 | " | ||
42 | FILES:${PN}-dev += "\ | ||
43 | ${libdir}/onepin-opensc-pkcs11.so \ | ||
44 | ${libdir}/pkcs11/opensc-pkcs11.so \ | ||
45 | ${libdir}/pkcs11/onepin-opensc-pkcs11.so \ | ||
46 | ${libdir}/pkcs11/pkcs11-spy.so \ | ||
47 | " | ||
48 | |||
49 | BBCLASSEXTEND = "native" | ||