[OE-core] [PATCH 20/21] compress-raw-zlib-perl: add new recipe

mingli.yu at windriver.com mingli.yu at windriver.com
Mon Aug 29 02:16:38 UTC 2016


From: Mingli Yu <Mingli.Yu at windriver.com>

* Add new recipe compress-raw-zlib-perl as io-compress-perl
  rdepends on compress-raw-zlib-perl

Signed-off-by: Mingli Yu <Mingli.Yu at windriver.com>
---
 .../perl/compress-raw-zlib-perl_2.069.bb           | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta/recipes-devtools/perl/compress-raw-zlib-perl_2.069.bb

diff --git a/meta/recipes-devtools/perl/compress-raw-zlib-perl_2.069.bb b/meta/recipes-devtools/perl/compress-raw-zlib-perl_2.069.bb
new file mode 100644
index 0000000..1c833c1
--- /dev/null
+++ b/meta/recipes-devtools/perl/compress-raw-zlib-perl_2.069.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "The Compress::Raw::Zlib module provides a Perl interface to the \
+zlib compression library."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-2.0"
+PR = "r0"
+
+MAINTAINER=	"Poky <poky at yoctoproject.org>"
+HOMEPAGE=	"https://metacpan.org/release/Compress-Raw-Zlib"
+
+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/P/PM/PMQS/Compress-Raw-Zlib-${PV}.tar.gz"
+
+SRC_URI[md5sum] = "c1f99178e6e29b0037785afa6d8bbcff"
+SRC_URI[sha256sum] = "9a647fe7d2e6122370372a11c1e3a2e2b54c90bba595cad170854fdaa8a64619"
+
+S = "${WORKDIR}/Compress-Raw-Zlib-${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