summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/perl
diff options
context:
space:
mode:
authorTim Orling <timothy.t.orling@linux.intel.com>2019-06-27 21:52:18 -0700
committerKhem Raj <raj.khem@gmail.com>2019-07-10 09:24:32 -0700
commit784285981b1ce9825575981f2b60e2b286251283 (patch)
treeb338a0bd16decf713df86c4068049a40e58dc946 /meta-oe/recipes-devtools/perl
parent1636d7d9b080fbe57762fb312878d5f2ad71e470 (diff)
downloadmeta-openembedded-784285981b1ce9825575981f2b60e2b286251283.tar.gz
libdbi-perl: fix dependencies
* Fix RDEPENDS, drop class-target (dependencies are the same for native) * Reorganize recipe to best practices * Add ptest dependencies Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/perl')
-rw-r--r--meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb38
1 files changed, 31 insertions, 7 deletions
diff --git a/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb b/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
index ff4a9d0610..77991bd158 100644
--- a/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
+++ b/meta-oe/recipes-devtools/perl/libdbi-perl_1.642.bb
@@ -7,13 +7,6 @@ database interface independent of the actual database being used. \
7HOMEPAGE = "http://search.cpan.org/dist/DBI/" 7HOMEPAGE = "http://search.cpan.org/dist/DBI/"
8SECTION = "libs" 8SECTION = "libs"
9LICENSE = "Artistic-1.0 | GPL-1.0+" 9LICENSE = "Artistic-1.0 | GPL-1.0+"
10RDEPENDS_${PN}_class-target = " \
11 perl-module-carp \
12 perl-module-exporter \
13 perl-module-exporter-heavy \
14 perl-module-dynaloader \
15"
16
17LIC_FILES_CHKSUM = "file://LICENSE;md5=10982c7148e0a012c0fd80534522f5c5" 10LIC_FILES_CHKSUM = "file://LICENSE;md5=10982c7148e0a012c0fd80534522f5c5"
18 11
19SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz" 12SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TI/TIMB/DBI-${PV}.tar.gz"
@@ -34,4 +27,35 @@ do_install_prepend() {
34 rm -rf ${B}/t/z*.t 27 rm -rf ${B}/t/z*.t
35} 28}
36 29
30RDEPENDS_${PN} = " \
31 perl-module-carp \
32 perl-module-exporter \
33 perl-module-exporter-heavy \
34 perl-module-dynaloader \
35 perl-module-io-dir \
36 perl-module-scalar-util \
37 perl-module-universal \
38"
39
40RDEPENDS_${PN}-ptest = " \
41 ${PN} \
42 perl-module-b \
43 perl-module-benchmark \
44 perl-module-cwd \
45 perl-module-data-dumper \
46 perl-module-encode \
47 perl-module-encode-byte \
48 perl-module-encode-encoding \
49 perl-module-file-copy \
50 perl-module-file-path \
51 perl-module-lib \
52 perl-module-perlio \
53 perl-module-perlio-scalar \
54 perl-module-perlio-via \
55 perl-module-sdbm-file \
56 perl-module-storable \
57 perl-module-test-more \
58 perl-module-utf8 \
59 "
60
37BBCLASSEXTEND = "native" 61BBCLASSEXTEND = "native"