aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/opensc/opensc_0.15.0.bb
diff options
context:
space:
mode:
authorLi xin <lixin.fnst@cn.fujitsu.com>2015-07-24 17:52:46 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-07-30 21:22:24 +0200
commit9d2fc54c804136d4344c953dee0731fcf2c965f2 (patch)
treefd10e7e0317d9d29966f5b0c1e0aa6945cde2953 /meta-oe/recipes-support/opensc/opensc_0.15.0.bb
parent1d645a437a5c44759963922e6843abab81dc3e04 (diff)
downloadmeta-openembedded-contrib-9d2fc54c804136d4344c953dee0731fcf2c965f2.tar.gz
meta-openembedded-contrib-9d2fc54c804136d4344c953dee0731fcf2c965f2.tar.bz2
meta-openembedded-contrib-9d2fc54c804136d4344c953dee0731fcf2c965f2.zip
opensc: upgrade 0.14.0 -> 0.15.0
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/opensc_0.15.0.bb')
-rw-r--r--meta-oe/recipes-support/opensc/opensc_0.15.0.bb45
1 files changed, 45 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/opensc/opensc_0.15.0.bb b/meta-oe/recipes-support/opensc/opensc_0.15.0.bb
new file mode 100644
index 0000000000..a11b3d80f2
--- /dev/null
+++ b/meta-oe/recipes-support/opensc/opensc_0.15.0.bb
@@ -0,0 +1,45 @@
+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"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/o/${BPN}/${BPN}_${PV}.orig.tar.gz"
+
+SRC_URI[md5sum] = "f266024e5a9630821ffa0ac14f72e369"
+SRC_URI[sha256sum] = "8f8f8cf52e0252334e4dfdccca829b876a3de6340deb772aa0bfe0c0cc10eaf5"
+
+S = "${WORKDIR}/OpenSC-${PV}"
+DEPENDS = "openct pcsc-lite virtual/libiconv openssl"
+
+LICENSE = "LGPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = " \
+ --disable-static \
+ --enable-openct \
+ --disable-pcsc \
+ --disable-ctapi \
+ --disable-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 \
+"