From: Mingli Yu <[email protected]>

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

Signed-off-by: Mingli Yu <[email protected]>
---
 .../perl/compress-raw-bzip2-perl_2.069.bb          | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta/recipes-devtools/perl/compress-raw-bzip2-perl_2.069.bb

diff --git a/meta/recipes-devtools/perl/compress-raw-bzip2-perl_2.069.bb 
b/meta/recipes-devtools/perl/compress-raw-bzip2-perl_2.069.bb
new file mode 100644
index 0000000..ca93c3d
--- /dev/null
+++ b/meta/recipes-devtools/perl/compress-raw-bzip2-perl_2.069.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = ""Compress::Raw::Bzip2\" provides an interface to the in-memory \
+compression/uncompression functions from the bzip2 compression library."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-2.0"
+PR = "r0"
+
+MAINTAINER=    "Poky <[email protected]>"
+HOMEPAGE=      "https://metacpan.org/release/Compress-Raw-Bzip2";
+
+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-Bzip2-${PV}.tar.gz";
+
+SRC_URI[md5sum] = "18c4312b4fb8b644e9d697803687ea4f"
+SRC_URI[sha256sum] = 
"928d07069dbe71f20bfc664830ee035e3964521c72b1cc80ea3340dfeb0f915b"
+
+S = "${WORKDIR}/Compress-Raw-Bzip2-${PV}"
+
+inherit cpan
+
+do_compile() {
+       export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 
'libc-*.so')"
+       cpan_do_compile
+}
+
+BBCLASSEXTEND = "native"
-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to