meta-openembedded/meta-perl/recipes-perl/libhtml/libhtml-tree-perl_5.07.bb
Wang Mingyu 73aaf9d495
libhtml-tree-perl: upgrade 5.06 -> 5.07
Changelog:
 Workaround more @INC issues with Module::Build and sudo

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-21 20:02:39 -07:00

51 lines
1.5 KiB
BlitzBasic

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/KENTNL/HTML-Tree-5.06/source/README"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://README;beginline=88;endline=105;md5=260d31d31370658947ae050eef27aca9"
SRC_URI = "${CPAN_MIRROR}/authors/id/K/KE/KENTNL/HTML-Tree-${PV}.tar.gz \
file://bin-htmltree-fix-shebang.patch \
"
SRC_URI[sha256sum] = "f0374db84731c204b86c1d5b90975fef0d30a86bd9def919343e554e31a9dbbf"
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"