diff options
author | Tim Orling <timothy.t.orling@linux.intel.com> | 2019-06-17 15:11:42 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-06-19 12:46:43 +0100 |
commit | c2cdb5f7b28d93e92be641e50003ae757a0bae39 (patch) | |
tree | 59c64c75676e1baec4c34d8e0eec2e80c3b28cdf | |
parent | 4cab85009c3b82e2afbfc902ca084db79b231000 (diff) | |
download | poky-c2cdb5f7b28d93e92be641e50003ae757a0bae39.tar.gz |
libmodule-build-perl: move from meta-perl
* cpan_build.bbclass DEPENDS on libmodule-build-perl
* add self as maintainer
Fixes [YOCTO #12873]
(From OE-Core rev: 81ba07d85d21456bf7248b2f04082958e8d724c2)
Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/distro/include/maintainers.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/perl/libmodule-build-perl_0.4224.bb | 34 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/conf/distro/include/maintainers.inc b/meta/conf/distro/include/maintainers.inc index 1923ae6bb2..0bc7060718 100644 --- a/meta/conf/distro/include/maintainers.inc +++ b/meta/conf/distro/include/maintainers.inc | |||
@@ -355,6 +355,7 @@ RECIPE_MAINTAINER_pn-libksba = "Alexander Kanavin <alex.kanavin@gmail.com>" | |||
355 | RECIPE_MAINTAINER_pn-libmatchbox = "Ross Burton <ross.burton@intel.com>" | 355 | RECIPE_MAINTAINER_pn-libmatchbox = "Ross Burton <ross.burton@intel.com>" |
356 | RECIPE_MAINTAINER_pn-libmnl = "Khem Raj <raj.khem@gmail.com>" | 356 | RECIPE_MAINTAINER_pn-libmnl = "Khem Raj <raj.khem@gmail.com>" |
357 | RECIPE_MAINTAINER_pn-libmpc = "Khem Raj <raj.khem@gmail.com>" | 357 | RECIPE_MAINTAINER_pn-libmpc = "Khem Raj <raj.khem@gmail.com>" |
358 | RECIPE_MAINTAINER_pn-libmodule-build-perl = "Tim Orling <timothy.t.orling@linux.intel.com>" | ||
358 | RECIPE_MAINTAINER_pn-libmodulemd = "Alexander Kanavin <alex.kanavin@gmail.com>" | 359 | RECIPE_MAINTAINER_pn-libmodulemd = "Alexander Kanavin <alex.kanavin@gmail.com>" |
359 | RECIPE_MAINTAINER_pn-libnewt = "Hongxu Jia <hongxu.jia@windriver.com>" | 360 | RECIPE_MAINTAINER_pn-libnewt = "Hongxu Jia <hongxu.jia@windriver.com>" |
360 | RECIPE_MAINTAINER_pn-libnewt-python = "Hongxu Jia <hongxu.jia@windriver.com>" | 361 | RECIPE_MAINTAINER_pn-libnewt-python = "Hongxu Jia <hongxu.jia@windriver.com>" |
diff --git a/meta/recipes-devtools/perl/libmodule-build-perl_0.4224.bb b/meta/recipes-devtools/perl/libmodule-build-perl_0.4224.bb new file mode 100644 index 0000000000..d523a7a0c7 --- /dev/null +++ b/meta/recipes-devtools/perl/libmodule-build-perl_0.4224.bb | |||
@@ -0,0 +1,34 @@ | |||
1 | SUMMARY = "Module::Build - Build and install Perl modules" | ||
2 | DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \ | ||
3 | Makefile.PL file to drive distribution configuration, build, test and \ | ||
4 | installation. Traditionally, Build.PL uses Module::Build as the underlying \ | ||
5 | build system. This module provides a simple, lightweight, drop-in replacement. \ | ||
6 | Whereas Module::Build has over 6,700 lines of code; this module has less than \ | ||
7 | 120, yet supports the features needed by most distributions." | ||
8 | |||
9 | SECTION = "libs" | ||
10 | |||
11 | HOMEPAGE = "https://metacpan.org/release/Module-Build" | ||
12 | |||
13 | LICENSE = "Artistic-1.0 | GPL-1.0+" | ||
14 | LIC_FILES_CHKSUM = "file://README;beginline=960;endline=965;md5=624c06db56a2af4d70cf9edc29fcae1b" | ||
15 | |||
16 | SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.tar.gz" | ||
17 | SRC_URI[md5sum] = "b74c2f6e84b60aad3a3defd30b6f0f4d" | ||
18 | SRC_URI[sha256sum] = "a6ca15d78244a7b50fdbf27f85c85f4035aa799ce7dd018a0d98b358ef7bc782" | ||
19 | |||
20 | S = "${WORKDIR}/Module-Build-${PV}" | ||
21 | |||
22 | inherit cpan_build | ||
23 | |||
24 | # From: | ||
25 | # https://github.com/rehsack/meta-cpan/blob/master/recipes-devel/module-build-perl/module-build-perl_0.4216.bb | ||
26 | # | ||
27 | do_patch_module_build () { | ||
28 | cd ${S} | ||
29 | sed -i -e 's,my $interpreter = $self->{properties}{perl};,my $interpreter = "${bindir}/perl";,g' lib/Module/Build/Base.pm | ||
30 | } | ||
31 | |||
32 | do_patch[postfuncs] += "do_patch_module_build" | ||
33 | |||
34 | BBCLASSEXTEND = "native" | ||