updated recipes to new requirements of openembedded and newer versions

git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@725 96b47cad-a561-4643-ad3b-153ac7d7599c
This commit is contained in:
frankmorgner
2012-03-02 10:52:34 +00:00
parent e5b947f3ab
commit 6b78c34ccc
8 changed files with 89 additions and 51 deletions

16
bitbake/libnfc/libnfc.bb Normal file
View File

@@ -0,0 +1,16 @@
SUMMARY = "Public platform independent Near Field Communication (NFC) library"
DESCRIPTION = "libnfc is a library which allows userspace application access to NFC devices."
HOMEPAGE = "http://www.libnfc.org/"
BUGTRACKER = "http://code.google.com/p/libnfc/issues/list"
LICENSE = "LGPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=b52f2d57d10c4f7ee67a7eb9615d5d24"
SRC_URI = "svn://libnfc.googlecode.com/svn/tags/;module=libnfc-1.5.1;proto=http"
SRCREV = "1326"
PV = "1.5.1+svnr${SRCPV}"
PR = "r0"
S = "${WORKDIR}/libnfc-1.5.1"
inherit autotools pkgconfig

View File

@@ -1,5 +1,6 @@
DESCRIPTION = "A set of libraries and utilities to work with smart cards"
HOMEPAGE = "http://www.opensc-project.org/opensc"
LICENSE = "LGPL-2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
@@ -7,7 +8,9 @@ DEPENDS = "pcsc-lite openssl"
SRC_URI = "git://github.com/frankmorgner/OpenSC.git;"
SRCREV = "d818628bf9c62c750710649b0b234bc71eec4ee9"
PV = "0.12+gitr${SRCPV}"
PV = "0.12.3+gitr${SRCPV}"
PR = "r0"
S = "${WORKDIR}/git"
inherit autotools pkgconfig
@@ -23,6 +26,3 @@ FILES_${PN}-dev += "${libdir}/pkcs11-spy.so \
${libdir}/pkcs11/onepin-opensc-pkcs11.so \
"
FILES_${PN}-dbg += "${libdir}/pkcs11/.debug"
SRC_URI[md5sum] = "62fe8d3ed1864556c1970d7c23d8d58e"
SRC_URI[sha256sum] = "e9b5812dd8024484c6bb7400fb3e638aca2e9b112a7ffb161c300fe2260b28c8"

View File

@@ -13,3 +13,6 @@ inherit distutils
SRC_URI[md5sum] = "4d5674f3898a573691ffb335e8d749cd"
SRC_URI[sha256sum] = "b08d4ed54c9403c77778a3803e53a4f33f359b42d94f6f3e14abb1bf4941e6ea"
LICENSE = "PyCrypto"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5f6acd2e613d7d23fc7e76d9aed7dceb"

View File

@@ -1,17 +1,21 @@
DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget"
LICENSE = "GPL"
SUMMARY = "CCID Emulator"
DESCRIPTION = "Forward a PC/SC smartcard reader as a standard USB CCID reader"
HOMEPAGE = "http://vsmartcard.sourceforge.net"
BUGTRACKER = "http://sourceforge.net/projects/vsmartcard/support"
DEPENDS = "pcsc-lite linux-libc-headers openssl opensc"
RDEPENDS = "pcsc-lite kernel-module-gadgetfs libcrypto opensc"
LICENSE = "GPL-3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=ccid;proto=https;rev=417"
DEPENDS = "pcsc-lite linux-libc-headers openssl npa"
RDEPENDS += "kernel-module-gadgetfs"
S = "${WORKDIR}/ccid"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https"
SRCREV = "719"
PV = "0.6+svnr${SRCPV}"
PR = "r0"
S = "${WORKDIR}/vsmartcard/ccid"
inherit autotools pkgconfig
EXTRA_OECONF = "--enable-pace"
FILES_${PN} += "\
${bindir}/* \
"
EXTRA_OECONF = 'OPENSSL_LIBS="${STAGING_DIR_TARGET}/lib/libcrypto.a -ldl" --enable-pace'

View File

@@ -1,18 +1,21 @@
DESCRIPTION = "API and Tools for the new German identity card (neuer Personalausweis, nPA)"
LICENSE = "GPL"
SUMMARY = "nPA Smart Card Library"
DESCRIPTION = "API and Tool for the new German identity card (neuer Personalausweis, nPA)"
HOMEPAGE = "http://vsmartcard.sourceforge.net"
BUGTRACKER = "http://sourceforge.net/projects/vsmartcard/support"
DEPENDS = "openssl opensc"
RDEPENDS = "libcrypto opensc"
LICENSE = "GPL-3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https;rev=417"
DEPENDS = "opensc openssl"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https"
SRCREV = "719"
PV = "0.4+svnr${SRCPV}"
PR = "r2"
# statically link to openssl
EXTRA_OECONF += 'OPENSSL_LIBS="${STAGING_DIR_TARGET}/lib/libcrypto.a -ldl"'
S = "${WORKDIR}/vsmartcard/npa"
inherit autotools pkgconfig
EXTRA_OECONF = ""
FILES_${PN} += "\
${bindir}/* \
${libdir}/* \
"

View File

@@ -0,0 +1,18 @@
SUMMARY = "Relay a smart card via NFC"
DESCRIPTION = "Forward APDUs from the OpenPICC or from a libnfc device to a smart card via the PC/SC middleware."
HOMEPAGE = "http://vsmartcard.sourceforge.net"
BUGTRACKER = "http://sourceforge.net/projects/vsmartcard/support"
LICENSE = "GPL-3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "libnfc pcsc-lite"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https"
SRCREV = "719"
PV = "0.4+svnr${SRCPV}"
PR = "r0"
S = "${WORKDIR}/vsmartcard/pcsc-relay"
inherit autotools pkgconfig

View File

@@ -1,15 +0,0 @@
DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget"
LICENSE = "GPL"
DEPENDS = "pcsc-lite"
RDEPENDS = "pcsc-lite"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=picc_to_pcsc;proto=https;rev=417"
S = "${WORKDIR}/picc_to_pcsc"
inherit autotools pkgconfig
FILES_${PN} += "\
${bindir}/* \
"

View File

@@ -1,19 +1,28 @@
DESCRIPTION = "Virtual Smartcard with PCSC Driver and CCID to PCSC Gadget"
LICENSE = "GPL"
SUMMARY = "Virtual Smart Card"
DESCRIPTION = "Virtual smart card with PC/SC Driver"
HOMEPAGE = "http://vsmartcard.sourceforge.net"
BUGTRACKER = "http://sourceforge.net/projects/vsmartcard/support"
LICENSE = "GPL-3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "pcsc-lite"
RDEPENDS = "pcsc-lite python-pycrypto python-crypt python-textutils python-imaging python-pickle"
RDEPENDS += "python-pycrypto python-crypt python-textutils python-imaging python-pickle"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard;module=virtualsmartcard;proto=https;rev=417"
SRC_URI = "svn://vsmartcard.svn.sourceforge.net/svnroot;module=vsmartcard;proto=https"
SRCREV = "719"
PV = "0.6+svnr${SRCPV}"
PR = "r0"
S = "${WORKDIR}/virtualsmartcard"
S = "${WORKDIR}/vsmartcard/virtualsmartcard"
EXTRA_OECONF = " --enable-serialdropdir=${libdir}/pcsc/drivers/serial"
EXTRA_OECONF = "--enable-serialdropdir=${libdir}/pcsc/drivers/serial"
inherit autotools pkgconfig
FILES_${PN} += "\
${bindir}/* \
${sysconfdir}/* \
${libdir}/* \
${libdir}/python2.7 \
${libdir}/pcsc/drivers/serial/libvpcd.so.0.5 \
"
FILES_${PN}-dbg += "${libdir}/pcsc/drivers/serial/.debug"
FILES_${PN}-dev += "${libdir}/pcsc/drivers/serial/libvpcd.so"