diff options
-rw-r--r-- | meta-oe/recipes-support/opensc/opensc_0.14.0.bb | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opensc/opensc_0.14.0.bb b/meta-oe/recipes-support/opensc/opensc_0.14.0.bb new file mode 100644 index 000000000..87ea2addd --- /dev/null +++ b/meta-oe/recipes-support/opensc/opensc_0.14.0.bb | |||
@@ -0,0 +1,45 @@ | |||
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 = "http://www.opensc-project.org/opensc/" | ||
10 | SECTION = "System Environment/Libraries" | ||
11 | |||
12 | SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz" | ||
13 | |||
14 | SRC_URI[md5sum] = "1ee31dc2e89860458fd984e0cac9795e" | ||
15 | SRC_URI[sha256sum] = "ffe8bcc704f2ab9a05c6781bc815f00eaf75cba0a1bd21e3142b9194a7bed5c9" | ||
16 | |||
17 | S = "${WORKDIR}/OpenSC-${PV}" | ||
18 | DEPENDS = "openct pcsc-lite virtual/libiconv openssl" | ||
19 | |||
20 | LICENSE = "LGPLv2+" | ||
21 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | ||
22 | |||
23 | inherit autotools pkgconfig | ||
24 | |||
25 | EXTRA_OECONF = " \ | ||
26 | --disable-static \ | ||
27 | --enable-openct \ | ||
28 | --disable-pcsc \ | ||
29 | --disable-ctapi \ | ||
30 | --disable-doc \ | ||
31 | " | ||
32 | EXTRA_OEMAKE = "DESTDIR=${D}" | ||
33 | |||
34 | RDEPENDS_${PN} = "readline" | ||
35 | |||
36 | FILES_${PN} += "\ | ||
37 | ${libdir}/opensc-pkcs11.so \ | ||
38 | ${libdir}/onepin-opensc-pkcs11.so \ | ||
39 | ${libdir}/pkcs11-spy.so \ | ||
40 | " | ||
41 | FILES_${PN}-dev += "\ | ||
42 | ${libdir}/pkcs11/opensc-pkcs11.so \ | ||
43 | ${libdir}/pkcs11/onepin-opensc-pkcs11.so \ | ||
44 | ${libdir}/pkcs11/pkcs11-spy.so \ | ||
45 | " | ||