diff options
Diffstat (limited to 'meta/recipes-devtools/perl/liburi-perl_5.28.bb')
-rw-r--r-- | meta/recipes-devtools/perl/liburi-perl_5.28.bb | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/meta/recipes-devtools/perl/liburi-perl_5.28.bb b/meta/recipes-devtools/perl/liburi-perl_5.28.bb new file mode 100644 index 0000000000..1fc0efd3e5 --- /dev/null +++ b/meta/recipes-devtools/perl/liburi-perl_5.28.bb | |||
@@ -0,0 +1,56 @@ | |||
1 | SUMMARY = "Perl module to manipulate and access URI strings" | ||
2 | DESCRIPTION = "This package contains the URI.pm module with friends. \ | ||
3 | The module implements the URI class. URI objects can be used to access \ | ||
4 | and manipulate the various components that make up these strings." | ||
5 | HOMEPAGE = "https://metacpan.org/dist/URI" | ||
6 | SECTION = "libs" | ||
7 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9944b87af51186f848ae558344aded9f" | ||
10 | |||
11 | SRC_URI = "${CPAN_MIRROR}/authors/id/O/OA/OALDERS/URI-${PV}.tar.gz \ | ||
12 | file://0001-Skip-TODO-test-cases-that-fail.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[sha256sum] = "e7985da359b15efd00917fa720292b711c396f2f9f9a7349e4e7dec74aa79765" | ||
16 | |||
17 | S = "${WORKDIR}/URI-${PV}" | ||
18 | |||
19 | EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" | ||
20 | |||
21 | inherit cpan ptest-perl | ||
22 | |||
23 | do_compile() { | ||
24 | export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" | ||
25 | cpan_do_compile | ||
26 | } | ||
27 | |||
28 | do_install:prepend() { | ||
29 | # these tests require "-T" (taint) command line option | ||
30 | rm -rf ${B}/t/cwd.t | ||
31 | rm -rf ${B}/t/file.t | ||
32 | } | ||
33 | |||
34 | RDEPENDS:${PN} += "\ | ||
35 | perl-module-integer \ | ||
36 | perl-module-mime-base64 \ | ||
37 | " | ||
38 | |||
39 | RDEPENDS:${PN}-ptest += " \ | ||
40 | libtest-fatal-perl \ | ||
41 | libtest-needs-perl \ | ||
42 | libtest-warnings-perl \ | ||
43 | perl-module-encode \ | ||
44 | perl-module-encode-encoding \ | ||
45 | perl-module-extutils-makemaker \ | ||
46 | perl-module-extutils-mm-unix \ | ||
47 | perl-module-file-spec-functions \ | ||
48 | perl-module-net-domain \ | ||
49 | perl-module-perlio \ | ||
50 | perl-module-perlio-encoding \ | ||
51 | perl-module-test \ | ||
52 | perl-module-test-more \ | ||
53 | perl-module-utf8 \ | ||
54 | " | ||
55 | |||
56 | BBCLASSEXTEND = "native" | ||