add opensc support
This commit is contained in:
parent
e04ee3cc09
commit
6cc1876191
|
@ -0,0 +1,44 @@
|
||||||
|
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 = "https://github.com/OpenSC/OpenSC/releases/download/0.22.0/opensc-${PV}.tar.gz"
|
||||||
|
|
||||||
|
|
||||||
|
SRC_URI[md5sum] = "4f547367252ce41be2fb736aca465baa"
|
||||||
|
SRC_URI[sha256sum] = "8d4e5347195ebea332be585df61dcc470331c26969e4b0447c851fb0844c7186"
|
||||||
|
|
||||||
|
DEPENDS = "openct pcsc-lite virtual/libiconv openssl"
|
||||||
|
|
||||||
|
LICENSE = "LGPLv2+"
|
||||||
|
LIC_FILES_CHKSUM = "file://COPYING;md5=cb8aedd3bced19bd8026d96a8b6876d7"
|
||||||
|
|
||||||
|
inherit autotools pkgconfig
|
||||||
|
|
||||||
|
EXTRA_OECONF = " \
|
||||||
|
--disable-static \
|
||||||
|
--enable-openct \
|
||||||
|
--disable-pcsc \
|
||||||
|
--disable-ctapi \
|
||||||
|
--disable-doc \
|
||||||
|
--disable-strict \
|
||||||
|
"
|
||||||
|
EXTRA_OEMAKE = "DESTDIR=${D}"
|
||||||
|
|
||||||
|
RDEPENDS_${PN} = "readline"
|
||||||
|
|
||||||
|
gr_${PN} += "\
|
||||||
|
${libdir}/* \
|
||||||
|
"
|
||||||
|
FILES_${PN}-dev += "\
|
||||||
|
${libdir}/* \
|
||||||
|
"
|
||||||
|
|
||||||
|
INSANE_SKIP_${PN} += "installed-vs-shipped dev-deps"
|
|
@ -64,6 +64,7 @@ IMAGE_INSTALL_append = " \
|
||||||
nghttp2 \
|
nghttp2 \
|
||||||
jemalloc \
|
jemalloc \
|
||||||
portaudio \
|
portaudio \
|
||||||
|
opensc \
|
||||||
"
|
"
|
||||||
|
|
||||||
install_proc() {
|
install_proc() {
|
||||||
|
|
Loading…
Reference in New Issue