diff options
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.bb | 44 |
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 @@ | |||
1 | DESCRIPTION = "This package contains the Parser.pm module with friends." | ||
2 | HOMEPAGE = "https://metacpan.org/release/OALDERS/HTML-Parser-3.76" | ||
3 | SECTION = "libs" | ||
4 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://README;beginline=992;endline=996;md5=cab05784294bb47dc319aeced156e96a" | ||
7 | |||
8 | DEPENDS += "perl" | ||
9 | |||
10 | SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/HTML-Parser-${PV}.tar.gz" | ||
11 | |||
12 | SRC_URI[sha256sum] = "64d9e2eb2b420f1492da01ec0e6976363245b4be9290f03f10b7d2cb63fa2f61" | ||
13 | |||
14 | S = "${UNPACKDIR}/HTML-Parser-${PV}" | ||
15 | |||
16 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" | ||
17 | |||
18 | inherit cpan ptest-perl | ||
19 | |||
20 | do_compile() { | ||
21 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" | ||
22 | cpan_do_compile | ||
23 | } | ||
24 | |||
25 | RDEPENDS:${PN} += "\ | ||
26 | perl-module-exporter \ | ||
27 | perl-module-strict \ | ||
28 | perl-module-vars \ | ||
29 | perl-module-xsloader \ | ||
30 | libhtml-tagset-perl \ | ||
31 | " | ||
32 | |||
33 | RDEPENDS:${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 | |||
44 | BBCLASSEXTEND = "native" | ||