CPAN::DistroBuilder

PAN::DistroBuilder is a Perl module to create a distro from a bundle or a number of modules from CPAN.
Download

CPAN::DistroBuilder Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Stas Bekman
  • Publisher web site:
  • http://search.cpan.org/~stas/

CPAN::DistroBuilder Tags


CPAN::DistroBuilder Description

PAN::DistroBuilder is a Perl module to create a distro from a bundle or a number of modules from CPAN. PAN::DistroBuilder is a Perl module to create a distro from a bundle or a number of modules from CPAN.SYNOPSIS % perl -MCPAN::DistroBuilder -webuild ApacheSDK 0.1 Bundle::Apache % perl -MCPAN::DistroBuilder -webuild CoolSDK 0.1 MD5 CGIThis package does a very simple thing. It fetches the source packages from CPAN, using CPAN.pm and puts them all into a single tar.gz package ready for distribution. This distribution package later can be installed in one command and therefore very useful for users who have to use our software, but know little or no Perl at all and don't know how to use CPAN shell to fetch and install all the required packages. Releasing Bundles and properly defining prerequisites in the CPAN modules is very important, and we go one step further to actually provide sort of SDK.This package relies on the locally working CPAN.pm's shell. If you didn't configure your CPAN.pm, do it before using this package. If normally CPAN.pm works for you, this package should work too.CAVEATSSome packages' build is interactive (i.e. user input is expected). Therefore we use CPAN.pm's inactivity_timeout attribute to interrupt the awaiting for user's input after a few seconds, which works in perl Makefile.PL stage, but not during make. In the latter case you have to manually satisfy the requested input or interrupt it. Since here we completely rely on CPAN.pm's shell to do the right thing, there is not much we can do. Remember that we have to run perl Makefile.PL to extract the prerequisites. You can adjust the value of the inactivity_timeout attribute in CPAN::DistroBuilderConfig.Unfortunately some packages define they own interactive methods which CPAN cannot skip automatically, in this case you have to manually answer the question. Requirements: · Perl


CPAN::DistroBuilder Related Software