3 use ExtUtils::MakeMaker;
6 'ExtUtils::MakeMaker' => 0,
12 my $tometa = ' >> $(DISTVNAME)/META.yml;';
13 my $build_req = 'echo "build_requires:" ' . $tometa;
14 foreach my $mod ( sort { lc $a cmp lc $b } keys %$BUILD_REQUIRES ) {
15 my $ver = $BUILD_REQUIRES->{$mod};
16 $build_req .= sprintf 'echo " %-30s %s" %s', "$mod:", $ver, $tometa;
22 NAME => 'Sub::Prototype::Util',
23 AUTHOR => 'Vincent Pit <perl@profvince.com>',
25 VERSION_FROM => 'lib/Sub/Prototype/Util.pm',
26 ABSTRACT_FROM => 'lib/Sub/Prototype/Util.pm',
34 PREOP => 'pod2text lib/Sub/Prototype/Util.pm > $(DISTVNAME)/README; ' . build_req,
35 COMPRESS => 'gzip -9f', SUFFIX => 'gz'
37 clean => { FILES => 'Sub-Prototype-Util-* *.gcov *.gcda *.gcno cover_db' }