[oe-commits] Li xin : opensc: add new recipe

git at git.openembedded.org git at git.openembedded.org
Wed Jan 28 09:14:04 UTC 2015


Module: meta-openembedded.git
Branch: master-next
Commit: a53daf07d31d5a8e95ec779714a1adfa05fa74d3
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=a53daf07d31d5a8e95ec779714a1adfa05fa74d3

Author: Li xin <lixin.fnst at cn.fujitsu.com>
Date:   Fri Jan 23 17:46:16 2015 +0800

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 at cn.fujitsu.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-support/opensc/opensc_0.14.0.bb | 42 +++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

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 0000000..bdb8d23
--- /dev/null
+++ b/meta-oe/recipes-support/opensc/opensc_0.14.0.bb
@@ -0,0 +1,42 @@
+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 = "https://github.com/OpenSC/OpenSC/wiki"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz"
+SRC_URI[md5sum] = "1ee31dc2e89860458fd984e0cac9795e"
+SRC_URI[sha256sum] = "ffe8bcc704f2ab9a05c6781bc815f00eaf75cba0a1bd21e3142b9194a7bed5c9"
+
+S = "${WORKDIR}/OpenSC-${PV}"
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
+
+inherit autotools pkgconfig
+DEPENDS = "openct pcsc-lite virtual/libiconv openssl"
+
+EXTRA_OECONF = " \
+    --disable-static \
+    --enable-openct \
+    --disable-pcsc \
+    --disable-ctapi \
+    --enable-doc \
+"
+EXTRA_OEMAKE = "DESTDIR=${D}"
+
+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 \
+"



More information about the Openembedded-commits mailing list