summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb')
-rw-r--r--meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb66
1 files changed, 66 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb b/meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb
new file mode 100644
index 0000000000..c128cb7154
--- /dev/null
+++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.647.bb
@@ -0,0 +1,66 @@
1SUMMARY = "The Perl Database Interface"
2DESCRIPTION = "DBI is a database access Application Programming Interface \
3(API) for the Perl Language. The DBI API Specification defines a set \
4of functions, variables and conventions that provide a consistent \
5database interface independent of the actual database being used. \
6"
7HOMEPAGE = "https://metacpan.org/dist/DBI"
8SECTION = "libs"
9LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=65f65488c774efe1da488e36ad6c4a36"
11
12SRC_URI = "${CPAN_MIRROR}/authors/id/H/HM/HMBRAND/DBI-${PV}.tgz"
13SRC_URI[sha256sum] = "0df16af8e5b3225a68b7b592ab531004ddb35a9682b50300ce50174ad867d9aa"
14
15S = "${UNPACKDIR}/DBI-${PV}"
16
17inherit cpan ptest-perl
18
19do_install:prepend() {
20 # test requires "-T" (taint) command line option
21 rm -rf ${B}/t/pod-coverage.t
22 rm -rf ${B}/t/13taint.t
23 # source of test failure not obvious
24 rm -rf ${B}/t/85gofer.t
25 # unclear why there are several duplicates of tests in tarball
26 rm -rf ${B}/t/z*.t
27}
28
29do_install:append() {
30 sed -i "s:^#!.*:#!/usr/bin/env perl:" ${D}${bindir}/dbiproxy \
31 ${D}${bindir}/dbiprof ${D}${bindir}/dbilogstrip
32}
33
34RDEPENDS:${PN}:class-target = " \
35 perl \
36 perl-module-carp \
37 perl-module-exporter \
38 perl-module-exporter-heavy \
39 perl-module-dynaloader \
40 perl-module-io-dir \
41 perl-module-scalar-util \
42 perl-module-universal \
43"
44
45RDEPENDS:${PN}-ptest = " \
46 ${PN} \
47 perl-module-b \
48 perl-module-benchmark \
49 perl-module-cwd \
50 perl-module-data-dumper \
51 perl-module-encode \
52 perl-module-encode-byte \
53 perl-module-encode-encoding \
54 perl-module-file-copy \
55 perl-module-file-path \
56 perl-module-lib \
57 perl-module-perlio \
58 perl-module-perlio-scalar \
59 perl-module-perlio-via \
60 perl-module-sdbm-file \
61 perl-module-storable \
62 perl-module-test-more \
63 perl-module-utf8 \
64 "
65
66BBCLASSEXTEND = "native"