diff options
Diffstat (limited to 'recipes/pcsc-lite')
-rw-r--r-- | recipes/pcsc-lite/pcsc-lite_1.5.2.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/pcsc-lite/pcsc-lite_1.5.2.bb b/recipes/pcsc-lite/pcsc-lite_1.5.2.bb new file mode 100644 index 0000000000..156e463bfc --- /dev/null +++ b/recipes/pcsc-lite/pcsc-lite_1.5.2.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "PC/SC Lite smart card framework and applications" +HOMEPAGE = "http://pcsclite.alioth.debian.org/" +LICENSE = "BSD" + +DEPENDS = "hal" +RDEPENDS_${PN} = "hal" + +SRC_URI = "http://alioth.debian.org/download.php/2479/pcsc-lite-${PV}.tar.bz2 \ + file://pcscd.init " + +inherit autotools_stage update-rc.d + +INITSCRIPT_NAME = "pcscd" +INITSCRIPT_PARAMS = "defaults" + +EXTRA_OECONF = " \ + --enable-libhal \ + --disable-libusb \ + --enable-usbdropdir=${libdir}/pcsc/drivers \ + " + +do_install() { + oe_runmake DESTDIR="${D}" install + install -d "${D}/etc/init.d" + install -m 755 "${WORKDIR}/pcscd.init" "${D}/etc/init.d/pcscd" +} + +PACKAGES =+ "libpcsclite" + +FILES_libpcsclite = "${libdir}/libpcsclite.so.*" |