5 use ExtUtils::MakeMaker;
8 'ExtUtils::MakeMaker' => 0,
14 my $tometa = ' >> $(DISTVNAME)/META.yml;';
15 my $build_req = 'echo "build_requires:" ' . $tometa;
16 foreach my $mod ( sort { lc $a cmp lc $b } keys %$BUILD_REQUIRES ) {
17 my $ver = $BUILD_REQUIRES->{$mod};
18 $build_req .= sprintf 'echo " %-30s %s" %s', "$mod:", $ver, $tometa;
24 NAME => 'Sub::Prototype::Util',
25 AUTHOR => 'Vincent Pit <perl@profvince.com>',
27 VERSION_FROM => 'lib/Sub/Prototype/Util.pm',
28 ABSTRACT_FROM => 'lib/Sub/Prototype/Util.pm',
36 PREOP => 'pod2text lib/Sub/Prototype/Util.pm > $(DISTVNAME)/README; ' . build_req,
37 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
39 clean => { FILES => 'Sub-Prototype-Util-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt' }