libpcsc-perl: Add recipe
PATCH 1/2 libpcsc-perl: Add recipe
Add Perl Chipcard::PCSC::Card smart card communication library.
Signed-off-by Leon Anavi <[email protected]>
--- .../perl/libpcsc-perl_1.4.14.bb | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.14.bb
meta-oe/recipes-devtools/perl/libpcsc-perl_1.4.14.bb new file +22 -0
@@ -0,0 +1,22 @@ +SUMMARY = "Perl interface to the PC/SC smart card library" +DESCRIPTION = "Perl wrapper to the PC/SC smartcard library (pcsc-lite) \ +together with some small examples. \ +The provided modules are Chipcard::PCSC and Chipcard::PCSC::Card." +HOMEPAGE = "https://metacpan.org/dist/pcsc-perl" +SECTION = "libs" +LICENSE = "Artistic-1.0 | GPL-1.0-or-later" +LIC_FILES_CHKSUM = "file://LICENCE;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "https://cpan.metacpan.org/authors/id/W/WH/WHOM/pcsc-perl-${PV}.tar.bz2" +SRC_URI[md5sum] = "45601505dbb7b27329811ac9bad35fab" +SRC_URI[sha256sum] = "2722b7e5543e4faf3ba1ec6b29a7dfec6d92be1edec09d0a3191992d4d88c69d" + +S = "${WORKDIR}/pcsc-perl-${PV}" + +inherit cpan pkgconfig + +DEPENDS += "pcsc-lite" + +RDEPENDS:${PN} += "perl-module-carp" + +BBCLASSEXTEND="native"
Signature · 1 line
2.30.2
PATCH 2/2 pcsc-tools: Add runtime dependencies
Add runtime dependencies for pcsc_scan and scriptor. Script ATR_analysis is written in Perl and it is used to parse the smart card ATR. This script is called by default by pcsc_scan.
Signed-off-by Leon Anavi <[email protected]>
--- meta-oe/recipes-support/pcsc-tools/pcsc-tools_1.6.2.bb | 8 ++++++++ 1 file changed, 8 insertions(+)
meta-oe/recipes-support/pcsc-tools/pcsc-tools_1.6.2.bb +8 -0
@@ -13,4 +13,12 @@ S = "${WORKDIR}/git" DEPENDS = "pcsc-lite" +RDEPENDS:${PN} += " \ + ${@bb.utils.contains('DISTRO_FEATURES','systemd','pcsc-lite-systemd', 'pcsc-lite', d)} \ + perl \ + perl-module-getopt-std \ + perl-module-file-stat \ + libpcsc-perl \ +" + FILES:${PN} += "${datadir}/pcsc/smartcard_list.txt"
Signature · 1 line
2.30.2