2007-05-30 09:32:36 +00:00
|
|
|
#
|
|
|
|
# cpan-base providers various perl related information needed for building
|
|
|
|
# cpan modules
|
|
|
|
#
|
2010-12-30 20:27:54 +00:00
|
|
|
FILES_${PN} += "${libdir}/perl ${datadir}/perl"
|
2007-05-30 09:32:36 +00:00
|
|
|
|
2007-11-30 14:04:04 +00:00
|
|
|
DEPENDS += "${@["perl", "perl-native"][(bb.data.inherits_class('native', d))]}"
|
2013-02-04 11:31:18 +00:00
|
|
|
RDEPENDS_${PN} += "${@["perl", ""][(bb.data.inherits_class('native', d))]}"
|
2007-05-30 09:32:36 +00:00
|
|
|
|
2017-06-11 12:36:31 +00:00
|
|
|
inherit perl-version
|
2007-05-30 09:32:36 +00:00
|
|
|
|
|
|
|
def is_target(d):
|
|
|
|
if not bb.data.inherits_class('native', d):
|
|
|
|
return "yes"
|
|
|
|
return "no"
|
|
|
|
|
2015-10-28 00:00:51 +00:00
|
|
|
PERLLIBDIRS = "${libdir}/perl"
|
|
|
|
PERLLIBDIRS_class-native = "${libdir}/perl-native"
|