generic-poky/documentation/ref-manual/eclipse/html/poky-ref-manual/ref-classes-perl.html

32 lines
1.6 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>7.9. Perl modules - cpan.bbclass</title>
<link rel="stylesheet" type="text/css" href="../book.css">
<meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
<link rel="home" href="index.html" title="The Yocto Project Reference Manual">
<link rel="up" href="ref-classes.html" title="Chapter 7. Classes">
<link rel="prev" href="ref-classes-src-distribute.html" title="7.8. Distribution of sources - src_distribute_local.bbclass">
<link rel="next" href="ref-classes-distutils.html" title="7.10. Python extensions - distutils.bbclass">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="7.9. Perl modules - cpan.bbclass">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="ref-classes-perl"></a>7.9. Perl modules - <code class="filename">cpan.bbclass</code>
</h2></div></div></div>
<p>
Recipes for Perl modules are simple.
These recipes usually only need to point to the source's archive and then inherit the
proper <code class="filename">.bbclass</code> file.
Building is split into two methods depending on which method the module authors used.
</p>
<p>
Modules that use old <code class="filename">Makefile.PL</code>-based build system require
<code class="filename">cpan.bbclass</code> in their recipes.
</p>
<p>
Modules that use <code class="filename">Build.PL</code>-based build system require
using <code class="filename">cpan_build.bbclass</code> in their recipes.
</p>
</div></body>
</html>