Files
Darsh Kelaiya bcc055b511 libhtml-parser-perl: checksum the LICENSE file
The 3.85 README ends at line 996, so the existing license checksum
covers only a blank line. Checksum the shipped LICENSE file instead.

Signed-off-by: Darsh Kelaiya <dkelaiya@cisco.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-16 08:26:54 -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.83"
SECTION = "libs"
LICENSE = "Artistic-1.0 OR GPL-1.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c673252ed1ff54b3a0d20b3673061f9d"
DEPENDS += "perl"
SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/HTML-Parser-${PV}.tar.gz"
SRC_URI[sha256sum] = "fd42ba6abe07241cf0ad57be246c3980065f683e4465e59b46af9efebc8e0c71"
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"