xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-devtools/perl/libdbi-perl_1.643.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunSUMMARY = "The Perl Database Interface"
2*4882a593SmuzhiyunDESCRIPTION = "DBI is a database access Application Programming Interface \
3*4882a593Smuzhiyun(API) for the Perl Language. The DBI API Specification defines a set \
4*4882a593Smuzhiyunof functions, variables and conventions that provide a consistent \
5*4882a593Smuzhiyundatabase interface independent of the actual database being used. \
6*4882a593Smuzhiyun"
7*4882a593SmuzhiyunHOMEPAGE = "http://search.cpan.org/dist/DBI/"
8*4882a593SmuzhiyunSECTION = "libs"
9*4882a593SmuzhiyunLICENSE = "Artistic-1.0 | GPL-1.0-or-later"
10*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://LICENSE;md5=10982c7148e0a012c0fd80534522f5c5"
11*4882a593Smuzhiyun
12*4882a593SmuzhiyunSRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz \
13*4882a593Smuzhiyun           file://CVE-2014-10402.patch \
14*4882a593Smuzhiyun           "
15*4882a593SmuzhiyunSRC_URI[md5sum] = "352f80b1e23769c116082a90905d7398"
16*4882a593SmuzhiyunSRC_URI[sha256sum] = "8a2b993db560a2c373c174ee976a51027dd780ec766ae17620c20393d2e836fa"
17*4882a593Smuzhiyun
18*4882a593SmuzhiyunS = "${WORKDIR}/DBI-${PV}"
19*4882a593Smuzhiyun
20*4882a593Smuzhiyuninherit cpan ptest-perl
21*4882a593Smuzhiyun
22*4882a593Smuzhiyundo_install:prepend() {
23*4882a593Smuzhiyun	# test requires "-T" (taint) command line option
24*4882a593Smuzhiyun	rm -rf ${B}/t/pod-coverage.t
25*4882a593Smuzhiyun	rm -rf ${B}/t/13taint.t
26*4882a593Smuzhiyun	# source of test failure not obvious
27*4882a593Smuzhiyun	rm -rf ${B}/t/85gofer.t
28*4882a593Smuzhiyun	# unclear why there are several duplicates of tests in tarball
29*4882a593Smuzhiyun	rm -rf ${B}/t/z*.t
30*4882a593Smuzhiyun}
31*4882a593Smuzhiyun
32*4882a593SmuzhiyunRDEPENDS:${PN}:class-target = " \
33*4882a593Smuzhiyun    perl \
34*4882a593Smuzhiyun    perl-module-carp \
35*4882a593Smuzhiyun    perl-module-exporter \
36*4882a593Smuzhiyun    perl-module-exporter-heavy \
37*4882a593Smuzhiyun    perl-module-dynaloader \
38*4882a593Smuzhiyun    perl-module-io-dir \
39*4882a593Smuzhiyun    perl-module-scalar-util \
40*4882a593Smuzhiyun    perl-module-universal \
41*4882a593Smuzhiyun"
42*4882a593Smuzhiyun
43*4882a593SmuzhiyunRDEPENDS:${PN}-ptest = " \
44*4882a593Smuzhiyun    ${PN} \
45*4882a593Smuzhiyun    perl-module-b \
46*4882a593Smuzhiyun    perl-module-benchmark \
47*4882a593Smuzhiyun    perl-module-cwd \
48*4882a593Smuzhiyun    perl-module-data-dumper \
49*4882a593Smuzhiyun    perl-module-encode \
50*4882a593Smuzhiyun    perl-module-encode-byte \
51*4882a593Smuzhiyun    perl-module-encode-encoding \
52*4882a593Smuzhiyun    perl-module-file-copy \
53*4882a593Smuzhiyun    perl-module-file-path \
54*4882a593Smuzhiyun    perl-module-lib \
55*4882a593Smuzhiyun    perl-module-perlio \
56*4882a593Smuzhiyun    perl-module-perlio-scalar \
57*4882a593Smuzhiyun    perl-module-perlio-via \
58*4882a593Smuzhiyun    perl-module-sdbm-file \
59*4882a593Smuzhiyun    perl-module-storable \
60*4882a593Smuzhiyun    perl-module-test-more \
61*4882a593Smuzhiyun    perl-module-utf8 \
62*4882a593Smuzhiyun    "
63*4882a593Smuzhiyun
64*4882a593SmuzhiyunBBCLASSEXTEND = "native"
65