[oe] CPAN module naming

Jamie Lenehan lenehan at twibble.org
Sun Apr 29 12:55:25 UTC 2007


On Sun, Apr 29, 2007 at 02:45:23PM +0300, "Stelios Koroneos" wrote:
> Is there an RFC or suggestion on how the CPAN modules .bb files should be
> named ?

lib<name>-perl_<version>.bb

where "name" is the name of the package as downloaded. So for:

  Algorithm-Diff-1.1902.tar.gz

we end up with:

 libalgorithm-diff-perl_1.1902.bb

This naming matches that used by debian based distros (you can always
check the naming used on a debian distro to verify what it should be
called.)

Note also that the current cpan.bbclass won't handle anything
particularly complex (in particular things that contain additional
multiple Makefile.PL's in subdirectories). Once I have perl 5.8.8 as
default I'll be re-doing the way cpan.bbclass and perl-native work to
make this a lot more reliable.

-- 
 Jamie Lenehan <lenehan at twibble.org>




More information about the Openembedded-devel mailing list