diff options
author | Li xin <lixin.fnst@cn.fujitsu.com> | 2015-02-04 18:48:51 +0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-02-12 19:37:20 +0100 |
commit | 9b15b3269062dbc48445be9bdc8beccee0cd7054 (patch) | |
tree | 974614ccb6c88567d75fde5a2a7a31054fcb65b7 /meta-oe/recipes-support/opensc | |
parent | 19e9164e1f3e129bbdb9837c68669be9a02782ca (diff) | |
download | meta-openembedded-9b15b3269062dbc48445be9bdc8beccee0cd7054.tar.gz |
opensc: add new recipe
OpenSC provides a set of libraries and utilities to work with smart cards.
Its main focus is on cards that support cryptographic operations, and
facilitate their use in security applications such as authentication,
mail encryption and digital signatures.
Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/opensc')
-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 | " | ||