ref-manual: Edits to the cpan class.

(From yocto-docs rev: c74aad5cb61fbe0d030d0a7d6a0c3b74154b02a0)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2013-12-05 12:54:40 -06:00 committed by Richard Purdie
parent 764a60c698
commit 74ff808e1c
1 changed files with 10 additions and 5 deletions

View File

@ -424,14 +424,19 @@
</para>
</section>
<section id='ref-classes-perl'>
<title>Perl Modules - <filename>cpan.bbclass</filename></title>
<section id='ref-classes-cpan'>
<title><filename>cpan.bbclass</filename></title>
<para>
The <filename>cpan</filename> class supports Perl modules.
</para>
<para>
Recipes for Perl modules are simple.
These recipes usually only need to point to the source's archive and then inherit the
proper <filename>.bbclass</filename> file.
Building is split into two methods depending on which method the module authors used.
These recipes usually only need to point to the source's archive and
then inherit the proper class file.
Building is split into two methods depending on which method the module
authors used.
<itemizedlist>
<listitem><para>Modules that use old
<filename>Makefile.PL</filename>-based build system require