diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-12-19 16:13:15 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2020-12-21 09:41:02 -0500 |
commit | af25a3b5a46c74124f1fb99e7157cc6aea879a5c (patch) | |
tree | 5a6ba2e217d11d6145f6a00226715e520a441d8d /meta-oem-production-readiness/meta-agl-basesystem/recipes-devtools/perl/libscalar-list-utils-perl_1.55.bb | |
parent | 4e5b9be85750852559f22b0b3493e6074b8f4fac (diff) |
meta-agl-basesystem: add libxml-xpath-perl
Add libxml-xpath-perl recipe and recipes for its required dependencies
libscalar-list-utils-perl and libpath-tiny-perl. This should enable
using the xpath utility in the basesystem build by DEPENDing on
libxml-xpath-perl-native.
Note that the libscalar-list-utils-perl recipe has been adapted from
the one present in meta-cpan (https://github.com/meta-cpan/meta-cpan)
as of commit 2f6ecfa. This was viewed as preferable to pulling in
meta-cpan as an AGL dependency. Additionally, the recipe has been
updated to enable ptest support, and all tests have been confirmed to
pass. The same is true of the libxml-xpath-perl and libpath-tiny-perl
ptests.
Bug-AGL: SPEC-3670
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: Icd25cbb4498636c5a6a384818535e3c3372b5b29
Diffstat (limited to 'meta-oem-production-readiness/meta-agl-basesystem/recipes-devtools/perl/libscalar-list-utils-perl_1.55.bb')
-rw-r--r-- | meta-oem-production-readiness/meta-agl-basesystem/recipes-devtools/perl/libscalar-list-utils-perl_1.55.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-oem-production-readiness/meta-agl-basesystem/recipes-devtools/perl/libscalar-list-utils-perl_1.55.bb b/meta-oem-production-readiness/meta-agl-basesystem/recipes-devtools/perl/libscalar-list-utils-perl_1.55.bb new file mode 100644 index 00000000..d81f18ff --- /dev/null +++ b/meta-oem-production-readiness/meta-agl-basesystem/recipes-devtools/perl/libscalar-list-utils-perl_1.55.bb @@ -0,0 +1,26 @@ +SUMMARY = "Perl scalar list modules" +DESCRIPTION = ""List::Util" contains a selection of subroutines that people have expressed \ +would be nice to have in the perl core, but the usage would not really be \ +high enough to warrant the use of a keyword, and the size so small such \ +that being individual extensions would be wasteful." +HOMEPAGE = "https://metacpan.org/release/Scalar-List-Utils" +SECTION = "libs" +LICENSE = "Artisticv1 | GPLv1+" + +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \ + file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d" + +SRC_URI = "https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Scalar-List-Utils-${PV}.tar.gz" +SRC_URI[md5sum] = "7988f5111e33ba47e175cf3e86b0d93f" +SRC_URI[sha256sum] = "4d2bdc1c72a7bc4d69d6a5cc85bc7566497c3b183c6175b832784329d58feb4b" + +S = "${WORKDIR}/Scalar-List-Utils-${PV}" + +inherit cpan ptest-perl + +do_install_prepend() { + # requires "-T" (taint) command line option + rm -rf ${B}/t/tainted.t +} + +BBCLASSEXTEND = "native" |