summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.04.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.04.bb')
-rw-r--r--meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.04.bb50
1 files changed, 50 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.04.bb b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.04.bb
new file mode 100644
index 0000000000..59bab0c748
--- /dev/null
+++ b/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.04.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/JFEARN/HTML-Tree-5.04/source/README"
10
11LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
12LIC_FILES_CHKSUM = "file://README;beginline=74;endline=91;md5=260d31d31370658947ae050eef27aca9"
13
14SRC_URI = "${CPAN_MIRROR}/authors/id/J/JF/JFEARN/HTML-Tree-${PV}.tar.gz \
15 file://bin-htmltree-fix-shebang.patch \
16"
17SRC_URI[sha256sum] = "1959ea2f7a9f1491903238d3a2cbef3a8e9aaaa75963f7114dbf54dca791b7be"
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