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

DhMakePerl - create Debian source package from CPAN dist

VERSION

Version 0.56

SYNOPSIS

TO BE FILLED

    use DhMakePerl;

    my $foo = DhMakePerl->new();
    ...

METHODS

main_file(file_name)

Constructs a file name relative to the main source directory, "main_dir"

debian_file(file_name)

Constructs a file name relative to the debian/ subdurectory of the main source directory.

configure_cpan

Configure CPAN module. It is safe to call this method more than once, it will do nothing if CPAN is already configured.

find_cpan_module

Returns CPAN::Module object that corresponds to the supplied argument. Returns undef if no module is found by CPAN.

add_quilt( $control )

Plugs quilt into debian/rules and debian/control. Depends on debian/rules being in DH7 three-liner format. Also bumps the debhelper build-dependency to 7.0.50 (the first version to support overrides) and adds debian/README.source documenting quilt usage.

drop_quilt( $control )

removes quilt from debian/rules and debian/control. Expects that was used to add quilt to debian/rules.

If debian/README.source exists, references to quilt are removed from it (and the file removed if empty after that).

AUTHOR

dh-make-perl was created by Paolo Molaro.

It is currently maintained by Gunnar Wolf and others, under the umbrella of the Debian Perl Group <debian-perl@lists.debian.org>

BUGS

Please report any bugs or feature requests to the Debian Bug Tracking System (http://bugs.debian.org/, use dh-make-perl as package name) or to the debian-perl@lists.debian.org mailing list.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc DhMakePerl

You can also look for information at:

COPYRIGHT & LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.