Skip to content

voegelas/CPANPLUS-Dist-Debora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9b0e9a3 · Feb 19, 2025

History

90 Commits
Jun 9, 2024
Aug 16, 2021
Feb 19, 2025
May 16, 2023
Feb 6, 2023
Nov 9, 2021
Apr 24, 2023
Oct 24, 2021
Aug 19, 2022
Aug 17, 2022
Feb 19, 2025
Jan 27, 2025
Aug 16, 2021
Feb 19, 2025
Feb 19, 2025
Jan 27, 2025
Jun 30, 2024
Feb 19, 2025

Repository files navigation

CPANPLUS::Dist::Debora

This CPANPLUS plugin creates Debian or RPM packages from Perl distributions. The created packages can be installed with CPANPLUS, dpkg or rpm.

$ cpanp
CPAN Terminal> i Some-Module --format=CPANPLUS::Dist::Debora

$ cpan2dist --format CPANPLUS::Dist::Debora Some-Module

$ cd ~/rpmbuild/RPMS/noarch
$ sudo rpm -i perl-Some-Module-1.0-1.noarch.rpm

$ cd ~/.cpanplus/5.36.1/build/XXXX
$ sudo dpkg -i libsome-module-perl_1.0-1cpanplus_all.deb

DEPENDENCIES

Requires Perl 5.16 and the modules CPANPLUS, CPANPLUS::Dist::Build, Module::Pluggable, Software::License and Text::Template from CPAN. IPC::Run and Term::ReadLine::Gnu are recommended.

On Debian-based systems, the following packages are required:

  • perl
  • build-essential
  • debhelper (version 12 or better)
  • fakeroot
  • sudo

On RPM-based systems, install the following packages:

  • perl
  • perl-devel and perl-generators (if available)
  • rpm-build
  • gcc
  • make
  • sudo

INSTALLATION

Run the following commands to install the software:

perl Makefile.PL
make
make test
make install

Type the following command to see the module usage information:

perldoc CPANPLUS::Dist::Debora

LICENSE AND COPYRIGHT

Copyright (C) 2025 Andreas Vögele

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

About

Create Debian and RPM packages from Perl modules

Topics

Resources

License

Stars

Watchers

Forks

Languages