diff options
Diffstat (limited to 'meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.06.bb')
| -rw-r--r-- | meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.06.bb | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.06.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.06.bb new file mode 100644 index 0000000000..bcc248d896 --- /dev/null +++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.06.bb | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | SUMMARY = "HTML::TreeBuilder - Parser that builds a HTML syntax tree" | ||
| 2 | DESCRIPTION = "This distribution contains a suite of modules for representing, \ | ||
| 3 | creating, and extracting information from HTML syntax trees; there is \ | ||
| 4 | also relevent documentation. These modules used to be part of the \ | ||
| 5 | libwww-perl distribution, but are now unbundled in order to facilitate \ | ||
| 6 | a separate development track." | ||
| 7 | SECTION = "libs" | ||
| 8 | |||
| 9 | HOMEPAGE = "https://metacpan.org/release/KENTNL/HTML-Tree-5.06/source/README" | ||
| 10 | |||
| 11 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | ||
| 12 | LIC_FILES_CHKSUM = "file://README;beginline=88;endline=105;md5=260d31d31370658947ae050eef27aca9" | ||
| 13 | |||
| 14 | SRC_URI = "${CPAN_MIRROR}/authors/id/K/KE/KENTNL/HTML-Tree-${PV}.tar.gz \ | ||
| 15 | file://bin-htmltree-fix-shebang.patch \ | ||
| 16 | " | ||
| 17 | SRC_URI[sha256sum] = "9c36eb19cbdf9a5906c858948ca51c35bd7561f52cc18c43281acbe57327536e" | ||
| 18 | |||
| 19 | S = "${UNPACKDIR}/HTML-Tree-${PV}" | ||
| 20 | |||
| 21 | inherit cpan_build | ||
| 22 | |||
| 23 | export PERL_USE_UNSAFE_INC = "1" | ||
| 24 | |||
| 25 | DEPENDS += "libmodule-build-perl-native \ | ||
| 26 | " | ||
| 27 | |||
| 28 | do_install:append() { | ||
| 29 | sed -i \ | ||
| 30 | -e 's|${TMPDIR}||g' \ | ||
| 31 | `find ${D}/usr/share/doc/perl/html/site/lib/HTML/ -type f` \ | ||
| 32 | `find ${D}/usr/lib/perl5 -type f -name .packlist` | ||
| 33 | } | ||
| 34 | |||
| 35 | RPROVIDES:${PN} = " libhtml-element-perl \ | ||
| 36 | libhtml-tree-assubs-perl \ | ||
| 37 | libhtml-tree-perl \ | ||
| 38 | libhtml-treebuilder-perl \ | ||
| 39 | " | ||
| 40 | |||
| 41 | RDEPENDS:${PN} = " perl-module-b \ | ||
| 42 | perl-module-base \ | ||
| 43 | perl-module-strict \ | ||
| 44 | perl-module-warnings \ | ||
| 45 | perl-module-exporter \ | ||
| 46 | perl-module-carp \ | ||
| 47 | " | ||
| 48 | |||
| 49 | BBCLASSEXTEND = "native" | ||
| 50 | |||
