blob: 59bab0c748b5e7efa59281a562bf4a9cf5458b86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
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 = "https://metacpan.org/release/JFEARN/HTML-Tree-5.04/source/README"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://README;beginline=74;endline=91;md5=260d31d31370658947ae050eef27aca9"
SRC_URI = "${CPAN_MIRROR}/authors/id/J/JF/JFEARN/HTML-Tree-${PV}.tar.gz \
file://bin-htmltree-fix-shebang.patch \
"
SRC_URI[sha256sum] = "1959ea2f7a9f1491903238d3a2cbef3a8e9aaaa75963f7114dbf54dca791b7be"
S = "${UNPACKDIR}/HTML-Tree-${PV}"
inherit cpan_build
export PERL_USE_UNSAFE_INC = "1"
DEPENDS += "libmodule-build-perl-native \
"
do_install:append() {
sed -i \
-e 's|${TMPDIR}||g' \
`find ${D}/usr/share/doc/perl/html/site/lib/HTML/ -type f` \
`find ${D}/usr/lib/perl5 -type f -name .packlist`
}
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"
|