mirror of
https://git.yoctoproject.org/poky
synced 2026-05-07 16:59:22 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
4cab85009c
commit
c2cdb5f7b2
@@ -355,6 +355,7 @@ RECIPE_MAINTAINER_pn-libksba = "Alexander Kanavin <alex.kanavin@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-libmatchbox = "Ross Burton <ross.burton@intel.com>"
|
||||
RECIPE_MAINTAINER_pn-libmnl = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-libmpc = "Khem Raj <raj.khem@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-libmodule-build-perl = "Tim Orling <timothy.t.orling@linux.intel.com>"
|
||||
RECIPE_MAINTAINER_pn-libmodulemd = "Alexander Kanavin <alex.kanavin@gmail.com>"
|
||||
RECIPE_MAINTAINER_pn-libnewt = "Hongxu Jia <hongxu.jia@windriver.com>"
|
||||
RECIPE_MAINTAINER_pn-libnewt-python = "Hongxu Jia <hongxu.jia@windriver.com>"
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
SUMMARY = "Module::Build - Build and install Perl modules"
|
||||
DESCRIPTION = "Many Perl distributions use a Build.PL file instead of a \
|
||||
Makefile.PL file to drive distribution configuration, build, test and \
|
||||
installation. Traditionally, Build.PL uses Module::Build as the underlying \
|
||||
build system. This module provides a simple, lightweight, drop-in replacement. \
|
||||
Whereas Module::Build has over 6,700 lines of code; this module has less than \
|
||||
120, yet supports the features needed by most distributions."
|
||||
|
||||
SECTION = "libs"
|
||||
|
||||
HOMEPAGE = "https://metacpan.org/release/Module-Build"
|
||||
|
||||
LICENSE = "Artistic-1.0 | GPL-1.0+"
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=960;endline=965;md5=624c06db56a2af4d70cf9edc29fcae1b"
|
||||
|
||||
SRC_URI = "${CPAN_MIRROR}/authors/id/L/LE/LEONT/Module-Build-${PV}.tar.gz"
|
||||
SRC_URI[md5sum] = "b74c2f6e84b60aad3a3defd30b6f0f4d"
|
||||
SRC_URI[sha256sum] = "a6ca15d78244a7b50fdbf27f85c85f4035aa799ce7dd018a0d98b358ef7bc782"
|
||||
|
||||
S = "${WORKDIR}/Module-Build-${PV}"
|
||||
|
||||
inherit cpan_build
|
||||
|
||||
# From:
|
||||
# https://github.com/rehsack/meta-cpan/blob/master/recipes-devel/module-build-perl/module-build-perl_0.4216.bb
|
||||
#
|
||||
do_patch_module_build () {
|
||||
cd ${S}
|
||||
sed -i -e 's,my $interpreter = $self->{properties}{perl};,my $interpreter = "${bindir}/perl";,g' lib/Module/Build/Base.pm
|
||||
}
|
||||
|
||||
do_patch[postfuncs] += "do_patch_module_build"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
Reference in New Issue
Block a user