Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of IlyaM (2933)

Sunday September 07, 2003
12:47 PM

META.yml, Module::Build and dh-make-perl

[ #14564 ]
Posting here just to keep this knowledge somewhere. To make dh-make-perl work with Module::Build based Perl module distros you need:
  • Apply this patch to enable dh-make-perl to retrieve module name and version information from META.yml.
  • After running dh-make-perl tweak file debian/rules. Replace

    $(PERL) Makefile.PL INSTALLDIRS=vendor
    $(MAKE) OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH=""

    with

    $(PERL) Build.PL installdirs=vendor
    OPTIMIZE="$(OPTIMIZE)" LD_RUN_PATH="" ./Build

    and

    $(MAKE) install PREFIX=$(TMP)/usr

    with

    ./Build install destdir=$(TMP)

I'd add native Module::Build support to dh-make-perl but this code badly needs refactoring before adding more code.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.