blob: fd67181dc22d9da77f3bf5b67eb158a6cb871c03 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Smart card library and applications"
2DESCRIPTION = "OpenSC is a tool for accessing smart card devices. Basic\
3functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO\
47816-4 compatible smart card. Encryption and decryption using private\
5keys on the smart card is possible with PKCS\
6such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten\
7eID cards have also been confirmed to work."
8
9HOMEPAGE = "http://www.opensc-project.org/opensc/"
10SECTION = "System Environment/Libraries"
11
12SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz"
13
Patrick Williamsddad1a12017-02-23 20:36:32 -060014SRC_URI[md5sum] = "724d128f23cd7a74b28d04300ce7bcbd"
15SRC_URI[sha256sum] = "3ac8c29542bb48179e7086d35a1b8907a4e86aca3de3323c2f48bd74eaaf5729"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050016
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017DEPENDS = "openct pcsc-lite virtual/libiconv openssl"
18
19LICENSE = "LGPLv2+"
20LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
21
22inherit autotools pkgconfig
23
24EXTRA_OECONF = " \
25 --disable-static \
26 --enable-openct \
27 --disable-pcsc \
28 --disable-ctapi \
29 --disable-doc \
30"
31EXTRA_OEMAKE = "DESTDIR=${D}"
32
33RDEPENDS_${PN} = "readline"
34
35FILES_${PN} += "\
36 ${libdir}/opensc-pkcs11.so \
37 ${libdir}/onepin-opensc-pkcs11.so \
38 ${libdir}/pkcs11-spy.so \
39"
40FILES_${PN}-dev += "\
41 ${libdir}/pkcs11/opensc-pkcs11.so \
42 ${libdir}/pkcs11/onepin-opensc-pkcs11.so \
43 ${libdir}/pkcs11/pkcs11-spy.so \
44"