From: <mingli.yu@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 4/4] extutils-makemaker-perl: add new recipe
Date: Fri, 26 Aug 2016 10:25:49 +0800 [thread overview]
Message-ID: <1472178349-32199-5-git-send-email-mingli.yu@windriver.com> (raw)
In-Reply-To: <1472178349-32199-1-git-send-email-mingli.yu@windriver.com>
From: Mingli Yu <Mingli.Yu@windriver.com>
* Add extutils-makemaker-perl recipe as
file-homedir-perl depends on
extutils-makemaker-perl-native
* Add no-packlist-neither-perllocal-legacy.patch
to avoid generating of .packlist and perllocal.pod
files to avoid conflicts between packages writing
same file
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
---
.../no-packlist-neither-perllocal-legacy.patch | 96 ++++++++++++++++++++++
.../perl/extutils-makemaker-perl_7.10.bb | 27 ++++++
2 files changed, 123 insertions(+)
create mode 100644 meta/recipes-devtools/perl/extutils-makemaker-perl/no-packlist-neither-perllocal-legacy.patch
create mode 100644 meta/recipes-devtools/perl/extutils-makemaker-perl_7.10.bb
diff --git a/meta/recipes-devtools/perl/extutils-makemaker-perl/no-packlist-neither-perllocal-legacy.patch b/meta/recipes-devtools/perl/extutils-makemaker-perl/no-packlist-neither-perllocal-legacy.patch
new file mode 100644
index 0000000..30e55cb
--- /dev/null
+++ b/meta/recipes-devtools/perl/extutils-makemaker-perl/no-packlist-neither-perllocal-legacy.patch
@@ -0,0 +1,96 @@
+--- a/lib/ExtUtils/MM_Unix.pm 2014-12-02 13:44:33.000000000 +0100
++++ b/lib/ExtUtils/MM_Unix.pm 2015-07-08 12:45:07.000000000 +0200
+@@ -2122,11 +2122,6 @@
+ };
+
+ push @m,
+-q{ read "}.$self->catfile('$(PERL_ARCHLIB)','auto','$(FULLEXT)','.packlist').q{" \
+- write "}.$self->catfile('$(DESTINSTALLARCHLIB)','auto','$(FULLEXT)','.packlist').q{" \
+-} unless $self->{NO_PACKLIST};
+-
+- push @m,
+ q{ "$(INST_LIB)" "$(DESTINSTALLPRIVLIB)" \
+ "$(INST_ARCHLIB)" "$(DESTINSTALLARCHLIB)" \
+ "$(INST_BIN)" "$(DESTINSTALLBIN)" \
+@@ -2140,10 +2135,6 @@
+ pure_site_install :: all
+ $(NOECHO) $(MOD_INSTALL) \
+ };
+- push @m,
+-q{ read "}.$self->catfile('$(SITEARCHEXP)','auto','$(FULLEXT)','.packlist').q{" \
+- write "}.$self->catfile('$(DESTINSTALLSITEARCH)','auto','$(FULLEXT)','.packlist').q{" \
+-} unless $self->{NO_PACKLIST};
+
+ push @m,
+ q{ "$(INST_LIB)" "$(DESTINSTALLSITELIB)" \
+@@ -2158,10 +2149,6 @@
+ pure_vendor_install :: all
+ $(NOECHO) $(MOD_INSTALL) \
+ };
+- push @m,
+-q{ read "}.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{" \
+- write "}.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{" \
+-} unless $self->{NO_PACKLIST};
+
+ push @m,
+ q{ "$(INST_LIB)" "$(DESTINSTALLVENDORLIB)" \
+@@ -2183,43 +2170,7 @@
+ doc_vendor_install :: all
+ $(NOECHO) $(NOOP)
+
+-} if $self->{NO_PERLLOCAL};
+-
+- push @m, q{
+-doc_perl_install :: all
+- $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod"
+- -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)"
+- -$(NOECHO) $(DOC_INSTALL) \
+- "Module" "$(NAME)" \
+- "installed into" $(INSTALLPRIVLIB) \
+- LINKTYPE "$(LINKTYPE)" \
+- VERSION "$(VERSION)" \
+- EXE_FILES "$(EXE_FILES)" \
+- >> "}.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{"
+-
+-doc_site_install :: all
+- $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod"
+- -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)"
+- -$(NOECHO) $(DOC_INSTALL) \
+- "Module" "$(NAME)" \
+- "installed into" $(INSTALLSITELIB) \
+- LINKTYPE "$(LINKTYPE)" \
+- VERSION "$(VERSION)" \
+- EXE_FILES "$(EXE_FILES)" \
+- >> "}.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{"
+-
+-doc_vendor_install :: all
+- $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod"
+- -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)"
+- -$(NOECHO) $(DOC_INSTALL) \
+- "Module" "$(NAME)" \
+- "installed into" $(INSTALLVENDORLIB) \
+- LINKTYPE "$(LINKTYPE)" \
+- VERSION "$(VERSION)" \
+- EXE_FILES "$(EXE_FILES)" \
+- >> "}.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{"
+-
+-} unless $self->{NO_PERLLOCAL};
++};
+
+ push @m, q{
+ uninstall :: uninstall_from_$(INSTALLDIRS)dirs
+@@ -2570,14 +2521,6 @@
+
+ push @m, q{
+ doc_inst_perl :
+- $(NOECHO) $(ECHO) Appending installation info to "$(DESTINSTALLARCHLIB)/perllocal.pod"
+- -$(NOECHO) $(MKPATH) "$(DESTINSTALLARCHLIB)"
+- -$(NOECHO) $(DOC_INSTALL) \
+- "Perl binary" "$(MAP_TARGET)" \
+- MAP_STATIC "$(MAP_STATIC)" \
+- MAP_EXTRA "`cat $(INST_ARCHAUTODIR)/extralibs.all`" \
+- MAP_LIBPERL "$(MAP_LIBPERL)" \
+- >> "}.$self->catfile('$(DESTINSTALLARCHLIB)','perllocal.pod').q{"
+
+ };
+
diff --git a/meta/recipes-devtools/perl/extutils-makemaker-perl_7.10.bb b/meta/recipes-devtools/perl/extutils-makemaker-perl_7.10.bb
new file mode 100644
index 0000000..0bcf161
--- /dev/null
+++ b/meta/recipes-devtools/perl/extutils-makemaker-perl_7.10.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "This utility is designed to write a Makefile for an extension module \
+from a Makefile.PL. It is based on the Makefile.SH model provided by \
+Andy Dougherty and the perl5-porters."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-2.0"
+PR = "r0"
+
+MAINTAINER= "Poky <poky@yoctoproject.org>"
+HOMEPAGE= "https://metacpan.org/release/ExtUtils-MakeMaker"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI = "\
+ https://cpan.metacpan.org/authors/id/B/BI/BINGOS/ExtUtils-MakeMaker-${PV}.tar.gz \
+ file://no-packlist-neither-perllocal-legacy.patch \
+"
+
+SRC_URI[md5sum] = "2639a21adee5e0a903730c12dcba08ec"
+SRC_URI[sha256sum] = "83b76cd49e458a55774e2e8d87bd1107bc159ba4219600c8ef10c6b43b0d94c5"
+
+S = "${WORKDIR}/ExtUtils-MakeMaker-${PV}"
+
+inherit cpan allarch
+
+BBCLASSEXTEND = "native"
--
2.8.1
next prev parent reply other threads:[~2016-08-26 2:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-26 2:25 [PATCH 0/4] groff: add file-homedir-perl to RDEPENDS mingli.yu
2016-08-26 2:25 ` [PATCH 1/4] " mingli.yu
2016-08-26 2:25 ` [PATCH 2/4] file-homedir-perl: add new recipe mingli.yu
2016-08-26 2:25 ` [PATCH 3/4] file-which-perl: " mingli.yu
2016-08-26 2:25 ` mingli.yu [this message]
2016-08-26 8:55 ` [PATCH 0/4] groff: add file-homedir-perl to RDEPENDS Burton, Ross
2016-08-26 9:28 ` Yu, Mingli
2016-09-02 1:54 ` Yu, Mingli
2016-09-02 11:41 ` Richard Purdie
2016-09-05 1:50 ` Yu, Mingli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1472178349-32199-5-git-send-email-mingli.yu@windriver.com \
--to=mingli.yu@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.