NAME

cpan2pkg - generating native packages from cpan

DESCRIPTION

Purpose of the program

This script is a glue application around cpan2dist, interacting with your upstream distribution. When calling this script, it will:

  • check whether it's alrady packaged by your vendor, and install from it if that's the case.

  • otherwise, build a native package with cpan2dist - this implies that there is a working CPANPLUS::Dist backend for your OS.

  • once built, import the module in upstream repository.

  • then submit module to upstream buildsystem.

And this, while dealing with dependencies, all the way long, repeating steps over and over as needed.

Read this blog entry for this module rationale.

How to use

See the options below (or cpan2pkg --help) for more information on how to launch the script. Once launched, you will get a curses application, with a list on the left and some text on the right.

The left list contains all the modules currently being built / installed / worked upon. You can get back to this list at any time by hitting the F2 key. A plus (+) prefix means that module is available locally. A minus (-) means that module is not yet available locally. A question mark (?) prefix means that module needs help and that user should do something before continuing.

The right list contains details on a given module: name, missing prereqs, and everything being done for this module. One can change the module shown by hitting the Enter key in the left list.

You can hit Ctrl+Q at any time to quit the application. This will also terminate all operations currently running.

REQUIRED ARGUMENTS

<module>...

Module to install / build / package.

OPTIONS

--version
--usage
--help
--man

Print the usual program information

AUTHOR

Jerome Quelin <jquelin@cpan.org>

COPYRIGHT

Copyright (c) 2009 Jerome Quelin, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.