diff --git a/bitbake/opensc_0.11.13.bb b/bitbake/opensc_0.11.13.bb index f9c7106..74ed2b0 100644 --- a/bitbake/opensc_0.11.13.bb +++ b/bitbake/opensc_0.11.13.bb @@ -2,8 +2,8 @@ DESCRIPTION = "A set of libraries and utilities to work with smart cards" HOMEPAGE = "http://www.opensc-project.org/opensc" LICENSE = "LGPL" -DEPENDS = "openssl" -RDEPENDS = "libcrypto" +DEPENDS = "pcsc-lite openssl" +RDEPENDS = "libcrypto libpcsclite" LEAD_SONAME = "libopensc" @@ -11,6 +11,10 @@ SRC_URI = "http://www.opensc-project.org/files/opensc/opensc-${PV}.tar.gz;" inherit autotools_stage pkgconfig +EXTRA_OECONF = "--enable-pcsc=yes \ + --with-pcsc-provider=${libdir}/libpcsclite.so.1 \ + " + SRC_URI += "file://le0.patch" FILES_${PN} += "${libdir}/libopensc.so.*"