Sunday September 07, 2003
12:47 PM
META.yml, Module::Build and dh-make-perl
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.
META.yml, Module::Build and dh-make-perl 0 Comments More | Login | Reply /