From: Mingli Yu <[email protected]>

* Add new recipe html-tagset-perl as html-parser-perl
  rdepends on html-tagset-perl

Signed-off-by: Mingli Yu <[email protected]>
---
 .../recipes-devtools/perl/html-tagset-perl_3.20.bb | 28 ++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 meta/recipes-devtools/perl/html-tagset-perl_3.20.bb

diff --git a/meta/recipes-devtools/perl/html-tagset-perl_3.20.bb 
b/meta/recipes-devtools/perl/html-tagset-perl_3.20.bb
new file mode 100644
index 0000000..b270331
--- /dev/null
+++ b/meta/recipes-devtools/perl/html-tagset-perl_3.20.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "This module contains several data tables useful in various 
kinds of \
+HTML parsing operations."
+
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-2.0"
+PR = "r0"
+
+MAINTAINER=    "Poky <[email protected]>"
+HOMEPAGE=      "https://metacpan.org/release/HTML-Tagset";
+
+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/P/PE/PETDANCE/HTML-Tagset-${PV}.tar.gz";
+
+SRC_URI[md5sum] = "d2bfa18fe1904df7f683e96611e87437"
+SRC_URI[sha256sum] = 
"adb17dac9e36cd011f5243881c9739417fd102fce760f8de4e9be4c7131108e2"
+
+S = "${WORKDIR}/HTML-Tagset-${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