summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.06.bb
diff options
context:
space:
mode:
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.bb50
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 @@
1SUMMARY = "HTML::TreeBuilder - Parser that builds a HTML syntax tree"
2DESCRIPTION = "This distribution contains a suite of modules for representing, \
3creating, and extracting information from HTML syntax trees; there is \
4also relevent documentation. These modules used to be part of the \
5libwww-perl distribution, but are now unbundled in order to facilitate \
6a separate development track."
7SECTION = "libs"
8
9HOMEPAGE = "https://metacpan.org/release/KENTNL/HTML-Tree-5.06/source/README"
10
11LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
12LIC_FILES_CHKSUM = "file://README;beginline=88;endline=105;md5=260d31d31370658947ae050eef27aca9"
13
14SRC_URI = "${CPAN_MIRROR}/authors/id/K/KE/KENTNL/HTML-Tree-${PV}.tar.gz \
15 file://bin-htmltree-fix-shebang.patch \
16"
17SRC_URI[sha256sum] = "9c36eb19cbdf9a5906c858948ca51c35bd7561f52cc18c43281acbe57327536e"
18
19S = "${UNPACKDIR}/HTML-Tree-${PV}"
20
21inherit cpan_build
22
23export PERL_USE_UNSAFE_INC = "1"
24
25DEPENDS += "libmodule-build-perl-native \
26"
27
28do_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
35RPROVIDES:${PN} = " libhtml-element-perl \
36 libhtml-tree-assubs-perl \
37 libhtml-tree-perl \
38 libhtml-treebuilder-perl \
39"
40
41RDEPENDS:${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
49BBCLASSEXTEND = "native"
50