added my Recipes
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
From 28ee994780459c3552d3cbbd6b011d054a41c439 Mon Sep 17 00:00:00 2001
|
||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
Date: Sun, 8 Nov 2015 23:33:31 -0500
|
||||
Subject: [PATCH] bin/htmltree: fix shebang
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
||||
---
|
||||
bin/htmltree | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bin/htmltree b/bin/htmltree
|
||||
index 8bf3db2..f9927e5 100755
|
||||
--- a/bin/htmltree
|
||||
+++ b/bin/htmltree
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/perl
|
||||
+#!/usr/bin/env perl
|
||||
# Time-stamp: "2000-10-02 14:48:15 MDT"
|
||||
#
|
||||
# Parse the given HTML file(s) and dump the parse tree
|
||||
--
|
||||
1.9.1
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
DESCRIPTION = "This package contains the Parser.pm module with friends."
|
||||
HOMEPAGE = "https://metacpan.org/release/HTML-Parser"
|
||||
SECTION = "libs"
|
||||
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://README;md5=b0459e4426b94753b9a9b8a15f1223b8"
|
||||
|
||||
DEPENDS += "perl"
|
||||
|
||||
SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-${PV}.tar.gz"
|
||||
|
||||
SRC_URI[md5sum] = "eb7505e5f626913350df9dd4a03d54a8"
|
||||
SRC_URI[sha256sum] = "ec28c7e1d9e67c45eca197077f7cdc41ead1bb4c538c7f02a3296a4bb92f608b"
|
||||
|
||||
S = "${WORKDIR}/HTML-Parser-${PV}"
|
||||
|
||||
EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
|
||||
|
||||
inherit cpan ptest-perl
|
||||
|
||||
do_compile() {
|
||||
export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
|
||||
cpan_do_compile
|
||||
}
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
perl-module-exporter \
|
||||
perl-module-strict \
|
||||
perl-module-vars \
|
||||
perl-module-xsloader \
|
||||
libhtml-tagset-perl \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "\
|
||||
liburi-perl \
|
||||
perl-module-config \
|
||||
perl-module-file-spec \
|
||||
perl-module-filehandle \
|
||||
perl-module-io-file \
|
||||
perl-module-selectsaver \
|
||||
perl-module-test \
|
||||
perl-module-test-more \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,29 @@
|
||||
SUMMARY = "HTML::Tageset - data tables useful in parsing HTML"
|
||||
DESCRIPTION = "This module contains several data tables useful in various \
|
||||
kinds of HTML parsing operations."
|
||||
HOMEPAGE = "https://metacpan.org/release/HTML-Tagset"
|
||||
SECTION = "libs"
|
||||
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://README;beginline=62;endline=66;md5=aa91eed6adfe182d2af676954f06a7c9"
|
||||
|
||||
SRC_URI = "${CPAN_MIRROR}/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 ptest-perl
|
||||
|
||||
|
||||
RDEPENDS:${PN} += "perl-module-strict perl-module-vars"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "perl-module-test"
|
||||
|
||||
do_install:prepend() {
|
||||
# requires "-T" (taint) command line option
|
||||
rm -rf ${B}/t/pod.t
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,44 @@
|
||||
SUMMARY = "HTML::TreeBuilder - Parser that builds a HTML syntax tree"
|
||||
DESCRIPTION = "This distribution contains a suite of modules for representing, \
|
||||
creating, and extracting information from HTML syntax trees; there is \
|
||||
also relevent documentation. These modules used to be part of the \
|
||||
libwww-perl distribution, but are now unbundled in order to facilitate \
|
||||
a separate development track."
|
||||
SECTION = "libs"
|
||||
|
||||
HOMEPAGE = "http://www.cpan.org/authors/id/C/CJ/CJM/HTML-Tree-${PV}.readme"
|
||||
|
||||
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3eb57a8958cae73cb65e7d0c26339242"
|
||||
|
||||
SRC_URI = "${CPAN_MIRROR}/authors/id/C/CJ/CJM/HTML-Tree-${PV}.tar.gz \
|
||||
file://bin-htmltree-fix-shebang.patch \
|
||||
"
|
||||
SRC_URI[md5sum] = "d9271d60b872ed6fbe68b2d0fe8c450e"
|
||||
SRC_URI[sha256sum] = "7d6d73fca622aa74855a8b088faa39454a0f91b7af83c9ec0387f01eefc2148f"
|
||||
|
||||
S = "${WORKDIR}/HTML-Tree-${PV}"
|
||||
|
||||
inherit cpan_build
|
||||
|
||||
export PERL_USE_UNSAFE_INC = "1"
|
||||
|
||||
DEPENDS += "libmodule-build-perl-native \
|
||||
"
|
||||
|
||||
RPROVIDES:${PN} = " libhtml-element-perl \
|
||||
libhtml-tree-assubs-perl \
|
||||
libhtml-tree-perl \
|
||||
libhtml-treebuilder-perl \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN} = " perl-module-b \
|
||||
perl-module-base \
|
||||
perl-module-strict \
|
||||
perl-module-warnings \
|
||||
perl-module-exporter \
|
||||
perl-module-carp \
|
||||
"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
Reference in New Issue
Block a user