-Fixed patches so bitbake can apply them
-Added patches to bitbake recipes git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@169 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
26
bitbake/ccid_1.3.11.bb
Normal file
26
bitbake/ccid_1.3.11.bb
Normal file
@@ -0,0 +1,26 @@
|
||||
DESCRIPTION = "Generic USB CCID smart card reader driver"
|
||||
HOMEPAGE = "http://pcsclite.alioth.debian.org/ccid.html"
|
||||
LICENSE = "GPL"
|
||||
PR = "r0"
|
||||
|
||||
DEPENDS = "virtual/libusb0 pcsc-lite"
|
||||
RDEPENDS = "pcsc-lite"
|
||||
|
||||
SRC_URI = "http://alioth.debian.org/download.php/3080/ccid-${PV}.tar.bz2 \
|
||||
file://ccid-1.3.11.patch;apply=yes \
|
||||
"
|
||||
|
||||
inherit autotools
|
||||
|
||||
EXTRA_OECONF = "--enable-udev"
|
||||
|
||||
do_install_append () {
|
||||
install -d "${D}/etc/udev/rules.d"
|
||||
install -m 644 "${S}/src/pcscd_ccid.rules" "${D}/etc/udev/rules.d/85-pcscd_ccid.rules"
|
||||
}
|
||||
|
||||
FILES_${PN} += "${libdir}/pcsc/"
|
||||
FILES_${PN}-dbg += "${libdir}/pcsc/drivers/*/*/*/.debug"
|
||||
|
||||
SRC_URI[md5sum] = "727dc7eb4d560f81fe70a766a96de970"
|
||||
SRC_URI[sha256sum] = "f7bf5a82b02aff7d709a45dcc6109105508625caf92e34da4140b7c84d498906"
|
||||
@@ -6,7 +6,8 @@ PR = "r0"
|
||||
DEPENDS = "virtual/libusb0 pcsc-lite"
|
||||
RDEPENDS = "pcsc-lite"
|
||||
|
||||
SRC_URI = "http://alioth.debian.org/download.php/3300/ccid-${PV}.tar.bz2"
|
||||
SRC_URI = "http://alioth.debian.org/download.php/3300/ccid-${PV}.tar.bz2 \
|
||||
file://ccid-1.3.13.patch;apply=yes"
|
||||
|
||||
inherit autotools
|
||||
|
||||
|
||||
35
bitbake/pcsc-lite_1.5.5.bb
Normal file
35
bitbake/pcsc-lite_1.5.5.bb
Normal file
@@ -0,0 +1,35 @@
|
||||
DESCRIPTION = "PC/SC Lite smart card framework and applications"
|
||||
HOMEPAGE = "http://pcsclite.alioth.debian.org/"
|
||||
LICENSE = "BSD"
|
||||
|
||||
DEPENDS = "hal"
|
||||
RDEPENDS_${PN} = "hal"
|
||||
|
||||
SRC_URI = "https://alioth.debian.org/frs/download.php/3082/pcsc-lite-${PV}.tar.bz2 \
|
||||
file://pcscd.init \
|
||||
file://pcsc-lite-1.5.5.patch;apply=yes \
|
||||
"
|
||||
|
||||
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.*"
|
||||
|
||||
SRC_URI[md5sum] = "6707e967fc8bb398a5d1b1089d4dff63"
|
||||
SRC_URI[sha256sum] = "051de6f3c1deff9a9c6f72995f6b9d271a23fc8aea74737f1902cabf1a71ed26"
|
||||
@@ -6,7 +6,8 @@ DEPENDS = "hal"
|
||||
RDEPENDS_${PN} = "hal"
|
||||
|
||||
SRC_URI = "https://alioth.debian.org/frs/download.php/3298/pcsc-lite-${PV}.tar.bz2 \
|
||||
file://pcscd.init "
|
||||
file://pcscd.init \
|
||||
file://pcsc-lite-1.6.1.patch;apply=yes"
|
||||
|
||||
inherit autotools_stage update-rc.d
|
||||
|
||||
|
||||
Reference in New Issue
Block a user