summaryrefslogtreecommitdiffstats
path: root/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.76.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.76.bb')
-rw-r--r--meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.76.bb44
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.76.bb b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.76.bb
new file mode 100644
index 0000000000..6205f7db0d
--- /dev/null
+++ b/meta-perl/recipes-perl/libhtml/libhtml-parser-perl_3.76.bb
@@ -0,0 +1,44 @@
1DESCRIPTION = "This package contains the Parser.pm module with friends."
2HOMEPAGE = "https://metacpan.org/release/OALDERS/HTML-Parser-3.76"
3SECTION = "libs"
4LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
5
6LIC_FILES_CHKSUM = "file://README;beginline=992;endline=996;md5=cab05784294bb47dc319aeced156e96a"
7
8DEPENDS += "perl"
9
10SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/HTML-Parser-${PV}.tar.gz"
11
12SRC_URI[sha256sum] = "64d9e2eb2b420f1492da01ec0e6976363245b4be9290f03f10b7d2cb63fa2f61"
13
14S = "${UNPACKDIR}/HTML-Parser-${PV}"
15
16EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"
17
18inherit cpan ptest-perl
19
20do_compile() {
21 export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
22 cpan_do_compile
23}
24
25RDEPENDS:${PN} += "\
26 perl-module-exporter \
27 perl-module-strict \
28 perl-module-vars \
29 perl-module-xsloader \
30 libhtml-tagset-perl \
31"
32
33RDEPENDS:${PN}-ptest += "\
34 liburi-perl \
35 perl-module-config \
36 perl-module-file-spec \
37 perl-module-filehandle \
38 perl-module-io-file \
39 perl-module-selectsaver \
40 perl-module-test \
41 perl-module-test-more \
42"
43
44BBCLASSEXTEND = "native"