From: <mingli.yu@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 2/4] file-homedir-perl: add new recipe
Date: Fri, 26 Aug 2016 10:25:47 +0800 [thread overview]
Message-ID: <1472178349-32199-3-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 file-homedir-perl recipe as glilypond which
in groff package depends on HomeDir.pm provided
by file-homedir-perl
Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
---
.../perl/file-homedir-perl_1.00.bb | 32 ++++++++++++++++++++++
1 file changed, 32 insertions(+)
create mode 100644 meta/recipes-devtools/perl/file-homedir-perl_1.00.bb
diff --git a/meta/recipes-devtools/perl/file-homedir-perl_1.00.bb b/meta/recipes-devtools/perl/file-homedir-perl_1.00.bb
new file mode 100644
index 0000000..1609b5e
--- /dev/null
+++ b/meta/recipes-devtools/perl/file-homedir-perl_1.00.bb
@@ -0,0 +1,32 @@
+DESCRIPTION = "File::HomeDir is a module for locating the directories that are \
+\"owned\" by a user (typicaly your user) and to solve the various \
+issues that arise trying \
+to find them consistently across a wide variety of platforms."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-2.0"
+PR = "r0"
+
+MAINTAINER= "Poky <poky@yoctoproject.org>"
+HOMEPAGE= "https://metacpan.org/release/File-HomeDir"
+
+LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
+file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
+
+SRC_URI = "http://cpan.metacpan.org/authors/id/A/AD/ADAMK/File-HomeDir-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "aa290cab9db52e2f76280fd1febf794e"
+SRC_URI[sha256sum] = "85b94f3513093ec0a25b91f9f2571918519ae6f2b7a1e8546f8f78d09a877143"
+RDEPENDS_${PN} += "file-which-perl"
+DEPENDS += "extutils-makemaker-perl-native"
+
+S = "${WORKDIR}/File-HomeDir-${PV}"
+
+inherit cpan
+
+do_compile() {
+ export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
+ cpan_do_compile
+}
+
+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 ` mingli.yu [this message]
2016-08-26 2:25 ` [PATCH 3/4] file-which-perl: add new recipe mingli.yu
2016-08-26 2:25 ` [PATCH 4/4] extutils-makemaker-perl: " mingli.yu
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-3-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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox