[OE-core] [PATCH 04/21] file-listing-perl: add new recipe
mingli.yu at windriver.com
mingli.yu at windriver.com
Mon Aug 29 02:16:22 UTC 2016
From: Mingli Yu <Mingli.Yu at windriver.com>
* Add new recipe file-listing-perl as libwww-perl-perl
rdepends on file-listing-perl
Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
---
.../perl/file-listing-perl_6.04.bb | 29 ++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 meta/recipes-devtools/perl/file-listing-perl_6.04.bb
diff --git a/meta/recipes-devtools/perl/file-listing-perl_6.04.bb b/meta/recipes-devtools/perl/file-listing-perl_6.04.bb
new file mode 100644
index 0000000..18b762f
--- /dev/null
+++ b/meta/recipes-devtools/perl/file-listing-perl_6.04.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "This module exports a single function called parse_dir(), which can be \
+used to parse directory listings."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-2.0"
+PR = "r0"
+
+MAINTAINER= "Poky <poky at yoctoproject.org>"
+HOMEPAGE= "https://metacpan.org/release/File-Listing"
+
+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/G/GA/GAAS/File-Listing-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "83f636b477741f3a014585bb9cc079a6"
+SRC_URI[sha256sum] = "1e0050fcd6789a2179ec0db282bf1e90fb92be35d1171588bd9c47d52d959cf5"
+RDEPENDS_${PN} += "http-date-perl"
+
+S = "${WORKDIR}/File-Listing-${PV}"
+
+inherit cpan
+
+do_compile() {
+ export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
+ cpan_do_compile
+}
+
+BBCLASSEXTEND = "native"
--
2.8.1
More information about the Openembedded-core
mailing list