| SUMMARY = "Smart card library and applications" |
| DESCRIPTION = "OpenSC is a tool for accessing smart card devices. Basic\ |
| functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO\ |
| 7816-4 compatible smart card. Encryption and decryption using private\ |
| keys on the smart card is possible with PKCS\ |
| such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten\ |
| eID cards have also been confirmed to work." |
| |
| HOMEPAGE = "http://www.opensc-project.org/opensc/" |
| SECTION = "System Environment/Libraries" |
| LICENSE = "LGPLv2+" |
| LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7" |
| |
| #v0.21.0 |
| SRCREV = "30180986a08cf71fe4af4b50251a8bb5b1ab95af" |
| SRC_URI = "git://github.com/OpenSC/OpenSC \ |
| " |
| DEPENDS = "virtual/libiconv openssl" |
| |
| S = "${WORKDIR}/git" |
| inherit autotools pkgconfig bash-completion |
| |
| EXTRA_OECONF = " \ |
| --disable-static \ |
| --disable-ctapi \ |
| --disable-doc \ |
| " |
| EXTRA_OEMAKE = "DESTDIR=${D}" |
| |
| PACKAGECONFIG ??= "pcsc" |
| |
| PACKAGECONFIG[openct] = "--enable-openct,--disable-openct,openct" |
| PACKAGECONFIG[pcsc] = "--enable-pcsc,--disable-pcsc,pcsc-lite,pcsc-lite pcsc-lite-lib" |
| |
| RDEPENDS_${PN} = "readline" |
| |
| FILES_${PN} += "\ |
| ${libdir}/opensc-pkcs11.so \ |
| ${libdir}/onepin-opensc-pkcs11.so \ |
| ${libdir}/pkcs11-spy.so \ |
| " |
| FILES_${PN}-dev += "\ |
| ${libdir}/pkcs11/opensc-pkcs11.so \ |
| ${libdir}/pkcs11/onepin-opensc-pkcs11.so \ |
| ${libdir}/pkcs11/pkcs11-spy.so \ |
| " |
| |
| BBCLASSEXTEND = "native" |