diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2022-09-06 13:32:14 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-09-06 08:43:34 -0700 |
commit | 767e7f360fbc036103dcbdf569bd59261be39e96 (patch) | |
tree | f8c2049987757b2a7f139cb607c79c117220b4fa /meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb | |
parent | 0c6171ed687bad1bc717e055a3d227b061713820 (diff) | |
download | meta-openembedded-767e7f360fbc036103dcbdf569bd59261be39e96.tar.gz |
libdev-checklib-perl: upgrade 1.14 -> 1.16
0001-CheckLib.pm-don-t-execute-the-binary.patch
refreshed for new version.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb')
-rw-r--r-- | meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb b/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb new file mode 100644 index 0000000000..74a09e7bf8 --- /dev/null +++ b/meta-oe/recipes-devtools/perl/libdev-checklib-perl_1.16.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "A Perl module that checks whether a particular C library and its headers are available" | ||
2 | DESCRIPTION = "This module provides a way of checking whether a particular library \ | ||
3 | and its headers are available, by attempting to compile a simple program and \ | ||
4 | link against it." | ||
5 | HOMEPAGE = "https://metacpan.org/pod/Devel::CheckLib" | ||
6 | SECTION = "libs" | ||
7 | LICENSE = "Artistic-1.0 | GPL-1.0-or-later" | ||
8 | |||
9 | LIC_FILES_CHKSUM = "file://README;md5=7911cdbb572d25c5f2e2ea17f669efc2" | ||
10 | |||
11 | SRC_URI = "https://cpan.metacpan.org/modules/by-module/Devel/Devel-CheckLib-${PV}.tar.gz \ | ||
12 | file://0001-CheckLib.pm-don-t-execute-the-binary.patch \ | ||
13 | " | ||
14 | SRC_URI[sha256sum] = "869d38c258e646dcef676609f0dd7ca90f085f56cf6fd7001b019a5d5b831fca" | ||
15 | |||
16 | S = "${WORKDIR}/Devel-CheckLib-${PV}" | ||
17 | |||
18 | inherit cpan | ||
19 | |||
20 | do_install:append() { | ||
21 | # update interpreter on shebang line | ||
22 | # since old version env doesn't support multiple arguments, replace option | ||
23 | # '-w' with 'use warnings;' | ||
24 | sed -i -e "s:^#!.*:#!/usr/bin/env perl:" \ | ||
25 | -e "/use strict;/ause warnings;" ${D}${bindir}/use-devel-checklib | ||
26 | } | ||
27 | |||
28 | BBCLASSEXTEND="native" | ||