[OE-core] perl packaging, Makefile.PL versus Build.PL?

Robert P. J. Day rpjday at crashcourse.ca
Fri Nov 18 10:24:31 UTC 2016


  still going to have a few more questions on the standards for
packaging perl source into OE recipes, here's the first one.

  as i read it, there are two build standards for perl source in OE:

  cpan.bbclass:		Makefile.PL build-based
  cpan_build.bbclass:	(newer) Build.PL build-based

so if one peruses the source at CPAN, it should be obvious which build
system is relevant, no? so what about source that has *both* those
files?

  https://metacpan.org/pod/Parse::DMIDecode

which has both of those install scripts in the top-level directory,
although the INSTALL file clearly refers to the newer build system:

  perl Build.PL
  perl Build
  perl Build test
  perl Build install

does it make any logical sense for both of those files to be there?
backward compatibility? any other reason? or am i just wildly
misunderstanding something?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the Openembedded-core mailing list