Patchwork [meta-perl] libhtml-parser-perl_3.71.bb: added

login
register
mail settings
Submitter Emil Petersen
Date Sept. 3, 2013, 3:46 p.m.
Message ID <1378223206-14183-1-git-send-email-erp@movis.dk>
Download mbox | patch
Permalink /patch/57309/
State Rejected, archived
Headers show

Comments

Emil Petersen - Sept. 3, 2013, 3:46 p.m.
HTML::Parser and RPROVIDES added

Signed-off-by: Emil Petersen <erp@movis.dk>
---
 .../libhtml-parser-perl_3.71.bb                    | 29 ++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 meta-perl/recipes-perl/libhtml-parser-perl/libhtml-parser-perl_3.71.bb
Hongxu Jia - Oct. 16, 2013, 5:56 a.m.
On 09/03/2013 11:46 PM, Emil Petersen wrote:
> HTML::Parser and RPROVIDES added
>
> Signed-off-by: Emil Petersen <erp@movis.dk>
> ---
>   .../libhtml-parser-perl_3.71.bb                    | 29 ++++++++++++++++++++++
>   1 file changed, 29 insertions(+)
>   create mode 100644 meta-perl/recipes-perl/libhtml-parser-perl/libhtml-parser-perl_3.71.bb
>
> diff --git a/meta-perl/recipes-perl/libhtml-parser-perl/libhtml-parser-perl_3.71.bb b/meta-perl/recipes-perl/libhtml-parser-perl/libhtml-parser-perl_3.71.bb
> new file mode 100644
> index 0000000..ad8c57a
> --- /dev/null
> +++ b/meta-perl/recipes-perl/libhtml-parser-perl/libhtml-parser-perl_3.71.bb
> @@ -0,0 +1,29 @@
> +SUMARRY = "This package contains the Parser.pm module with friends."
> +AUTHOR = "Gisle Aas <gisle@activestate.com>"
> +HOMEPAGE = "https://metacpan.org/release/HTML-Parser"
> +SECTION = "libs"
> +LICENSE = "Artistic-1.0 | GPL-1.0+"
> +LIC_FILES_CHKSUM = "file://README;md5=6c3dacf9f405c7483870ab5f148770c3"
> +
> +SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-${PV}.tar.gz"
> +SRC_URI[md5sum] = "9128a45893097dfa3bf03301b19c5efe"
> +SRC_URI[sha256sum] = "be918b3749d3ff93627f72ee4b825683332ecb4c81c67a3a8d72b0435ffbd802"
> +
> +RDEPENDS_${PN} += 'libhtml-tagset-perl libxsloader-perl'

Which recipe provoides libhtml-tagset-perl?

s/libxsloader-perl/perl-module-xsloader/

//Hongxu

> +
> +RPROVIDES_${PN} += "libhtml-entities-perl \
> +                    libhtml-filter-perl \
> +                    libhtml-headparser-perl \
> +                    libhtml-linkextor-perl \
> +                    libhtml-parser-perl \
> +                    libhtml-pullparser-perl \
> +                    libhtml-tokeparser-perl \
> +                    "
> +
> +S = "${WORKDIR}/HTML-Parser-${PV}"
> +
> +EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
> +
> +inherit cpan
> +
> +BBCLASSEXTEND = "native"

Patch

diff --git a/meta-perl/recipes-perl/libhtml-parser-perl/libhtml-parser-perl_3.71.bb b/meta-perl/recipes-perl/libhtml-parser-perl/libhtml-parser-perl_3.71.bb
new file mode 100644
index 0000000..ad8c57a
--- /dev/null
+++ b/meta-perl/recipes-perl/libhtml-parser-perl/libhtml-parser-perl_3.71.bb
@@ -0,0 +1,29 @@ 
+SUMARRY = "This package contains the Parser.pm module with friends."
+AUTHOR = "Gisle Aas <gisle@activestate.com>"
+HOMEPAGE = "https://metacpan.org/release/HTML-Parser"
+SECTION = "libs"
+LICENSE = "Artistic-1.0 | GPL-1.0+"
+LIC_FILES_CHKSUM = "file://README;md5=6c3dacf9f405c7483870ab5f148770c3"
+
+SRC_URI = "http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/HTML-Parser-${PV}.tar.gz"
+SRC_URI[md5sum] = "9128a45893097dfa3bf03301b19c5efe"
+SRC_URI[sha256sum] = "be918b3749d3ff93627f72ee4b825683332ecb4c81c67a3a8d72b0435ffbd802"
+
+RDEPENDS_${PN} += 'libhtml-tagset-perl libxsloader-perl'
+
+RPROVIDES_${PN} += "libhtml-entities-perl \
+                    libhtml-filter-perl \
+                    libhtml-headparser-perl \
+                    libhtml-linkextor-perl \
+                    libhtml-parser-perl \
+                    libhtml-pullparser-perl \
+                    libhtml-tokeparser-perl \
+                    "
+
+S = "${WORKDIR}/HTML-Parser-${PV}"
+
+EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
+
+inherit cpan
+
+BBCLASSEXTEND = "native"