From b5dd649318061194a3071b92fd631c46097c9f9e Mon Sep 17 00:00:00 2001 From: oepen Date: Mon, 31 May 2010 18:08:50 +0000 Subject: [PATCH] Explicitly enable PC/SC support in the OpenSC recipe git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@116 96b47cad-a561-4643-ad3b-153ac7d7599c --- bitbake/opensc_0.11.13.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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.*"