Files
meta-openembedded/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.76.bb
Jason Schonberg d095742503 libhtml-parser-perl: upgrade 3.75 -> 3.76
3.76      2021-03-04
  * Add a fix for a stack confusion error on `eof`. (GH#21) (Matthew Horsfall
    and Chase Whitener)

Signed-off-by: Jason Schonberg <schonm@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-10-12 20:58:51 -07:00

45 lines
1.1 KiB
BlitzBasic

DESCRIPTION = "This package contains the Parser.pm module with friends."
HOMEPAGE = "https://metacpan.org/release/OALDERS/HTML-Parser-3.76"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://README;beginline=992;endline=996;md5=cab05784294bb47dc319aeced156e96a"
DEPENDS += "perl"
SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/HTML-Parser-${PV}.tar.gz"
SRC_URI[sha256sum] = "64d9e2eb2b420f1492da01ec0e6976363245b4be9290f03f10b7d2cb63fa2f61"
S = "${UNPACKDIR}/HTML-Parser-${PV}"
EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
inherit cpan ptest-perl
do_compile() {
export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
cpan_do_compile
}
RDEPENDS:${PN} += "\
perl-module-exporter \
perl-module-strict \
perl-module-vars \
perl-module-xsloader \
libhtml-tagset-perl \
"
RDEPENDS:${PN}-ptest += "\
liburi-perl \
perl-module-config \
perl-module-file-spec \
perl-module-filehandle \
perl-module-io-file \
perl-module-selectsaver \
perl-module-test \
perl-module-test-more \
"
BBCLASSEXTEND = "native"