Patchwork [meta-oe,5/5] pcsc-lite: rdepends on ccid and drop init script

login
register
mail settings
Submitter Otavio Salvador
Date June 1, 2011, 8:16 p.m.
Message ID <82a4381c9ac475d989220cb27924f02a6154d3b1.1306959338.git.otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/5255/
State New, archived
Headers show

Comments

Otavio Salvador - June 1, 2011, 8:16 p.m.
We use auto-start feature by default as it is provided by ccid and
works out of box for most use cases.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 .../recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb   |   15 +++------------
 1 files changed, 3 insertions(+), 12 deletions(-)

Patch

diff --git a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
index 7d235d6..14a0ba0 100644
--- a/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
+++ b/meta-oe/recipes-support/pcsc-lite/pcsc-lite_1.7.2.bb
@@ -3,10 +3,10 @@  HOMEPAGE = "http://pcsclite.alioth.debian.org/"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c8e551349dc346258274f0007679e149"
 DEPENDS = "udev"
-PR = "r0"
+RDEPENDS += "ccid"
+PR = "r1"
 
-SRC_URI = "https://alioth.debian.org/frs/download.php/3533/pcsc-lite-${PV}.tar.bz2 \
-           file://pcscd.init "
+SRC_URI = "https://alioth.debian.org/frs/download.php/3533/pcsc-lite-${PV}.tar.bz2"
 
 SRC_URI[md5sum] = "47e7055cfc14399fdaa1b7a4aa06e5aa"
 SRC_URI[sha256sum] = "41f13d552eaa2c3978fbb6f2125e81903a0767011d999052fd1a6ee03880b398"
@@ -21,15 +21,6 @@  EXTRA_OECONF = " \
 
 S = "${WORKDIR}/pcsc-lite-${PV}"
 
-do_install() {
-	oe_runmake DESTDIR="${D}" install
-	install -d "${D}/${sysconfdir}/init.d"
-	install -m 755 "${WORKDIR}/pcscd.init" "${D}/${sysconfdir}/init.d/pcscd"
-
-	# handle vars values
-	sed -i 's,/usr/sbin,${sbindir},g;s,/var,${localstatedir},g' "${D}/${sysconfdir}/init.d/pcscd"
-}
-
 PACKAGES =+ "${PN}-lib"
 
 INITSCRIPT_NAME = "pcscd"