summaryrefslogtreecommitdiffstats
path: root/meta/classes/cpan-base.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-101-1/+1
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cpan.bbclass, cpan-base.bbclas: update them for the perlnative changeDexuan Cui2011-06-091-3/+7
| | | | | | | Since perl-native now populates into its own dir, here we need change accordingly. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* cpan.bbclass: use LIBDIR instead of DATADIRNitin A Kamble2011-01-121-2/+2
| | | | | | | | | | perl 5.12.2 does not use /usr/share/perl path, and all that stuff goes in /usr/lib/perl. This commit fixes cpan class which depends on /usr/share/perl. cpan.base/build.bbclass: change /usr/lib/perl5 to /usr/lib/perl Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* libxml-parser-perl: Fix bug of empty package of libxml-parser-perl.Jingdong Lu2010-12-101-1/+1
| | | | | | Becaues of the error library path definition in cpan-base.class, libxml-parser-perl package is empty. Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
* cpan-base.bbclass: fix perl version finding functionNitin A Kamble2010-07-161-1/+1
| | | | | | | Now perl version is in two digits like 12 in 5.12.1. Fix the old function to work with multi digit version strings. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* perl: Update from OE.dev and convert to use do_install for stagingRichard Purdie2009-11-181-12/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* perl: Standardise config.sh locationRichard Purdie2009-11-161-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* classes: Remove and sanitise import statementsRichard Purdie2009-11-131-3/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cpan-base.bbclass: Update the perl depenedencies: (from OE)Marcin Juszkiewicz2007-11-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | * For native modules DEPEND on perl-native and for others DEPEND on perl (which in turn depends on perl-native) rather then always depending on both perl and perl-native. * Only RDEPEND for non-native modules rather then both native and non-native. These changes are to allow you to build native modules without have to build perl. Previously the dependencies would result in perl being built even though it didn't actually need to. Thanks to hrw for pointing out what was happening here. Revision: 399705dfa7f6a6fd87366a6c0b1058354a5d4312 Ancestor: 5f43096a239a7ac66c7046feb414e8279db8f4bc Author: lenehan@openembedded.org Date: 2007-05-30T22:10:32 Branch: org.openembedded.dev Modified files: classes/cpan-base.bbclass git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3280 311d38ba-8fff-0310-9ca6-ca027cbcb966
* cpan classes: sync Perl with OEMarcin Juszkiewicz2007-05-301-0/+55
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1815 311d38ba-8fff-0310-9ca6-ca027cbcb966