building_debian_packages_of_perl_modules
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| building_debian_packages_of_perl_modules [2024/09/04 08:49] – created abeverley | building_debian_packages_of_perl_modules [2024/09/12 15:18] (current) – abeverley | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| Some example commands to build Debian packages of Perl modules, using Dh-make-perl. | Some example commands to build Debian packages of Perl modules, using Dh-make-perl. | ||
| + | |||
| + | ==== Installing dh-make-perl ==== | ||
| + | |||
| + | apt-get install dh-make-perl build-essential apt-file | ||
| + | apt-file update # Needed to build packages with correct dependencies listed | ||
| + | | ||
| + | ==== Standard package build from CPAN ==== | ||
| + | |||
| + | PERL_MM_OPT=' | ||
| + | |||
| + | ==== Building a package and all dependencies ==== | ||
| + | |||
| + | The following command is the " | ||
| + | |||
| + | PERL_MM_OPT=' | ||
| + | |||
| + | ==== Specifying a revision ==== | ||
| + | |||
| + | The revision of a package can be specified as follows. This is needed if rebuilding the same version of a module, to ensure uniqueness in package repositories. | ||
| + | |||
| + | PERL_MM_OPT=' | ||
| + | |||
| + | Earlier versions of dh-make-perl appear to have a bug which means that the '' | ||
| + | |||
| + | PERL_MM_OPT=' | ||
| + | |||
| + | ==== Building a more up to date module that is in core ==== | ||
| + | |||
| + | PERL_MM_OPT=' | ||
| ==== Downloading and building a package manually ==== | ==== Downloading and building a package manually ==== | ||
building_debian_packages_of_perl_modules.1725439790.txt.gz · Last modified: 2024/09/04 08:49 by abeverley
