The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

cpan-packager - create redhat/debian packages from perl modules

SYNOPSIS

Packages are generated at /tmp/cpanpackager/{deb or rpm}

  sudo cpan-packager --module Test::Exception --builder Deb --conf conf/config.yaml 
  sudo cpan-packager --modulelist modulelist.txt --builder RPM --conf conf/config.yaml 

    --module         module name (required option)
    --builder        Deb or RPM (optional. default is Deb)
    --conf           configuration file path (required)
    --always-build   always build cpan modules if module is aready installed (optional)
    --modulelist     File containing a list of modules that should be built. (optional)


  config.yaml is located at github repo
  See http://github.com/dann/cpan-packager/tree/master

DESCRIPTION

cpan-packager will create the files required to build a debian or redhat source package out of a perl package. This works for most simple packages and is also useful for getting started with packaging perl modules. Given a perl package name, it can also automatically download it from CPAN.

AUTHOR

Takatoshi Kitano <kitano.tk@gmail.com>

SEE ALSO

LICENSE

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