]> git.vpit.fr Git - perl/modules/Task-Devel-Cover-Recommended.git/blob - Makefile.PL
Initial commit
[perl/modules/Task-Devel-Cover-Recommended.git] / Makefile.PL
1 use 5.008002;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'Task-Devel-Cover-Recommended';
8
9 (my $name = $dist) =~ s{-}{::}g;
10
11 (my $file = $dist) =~ s{-}{/}g;
12 $file = "lib/$file.pm";
13
14 my %DC_CONFIGURE = (
15  'ExtUtils::MakeMaker' => 0,
16 );
17
18 my %DC_BUILD = (
19  'Test::Differences' => 0,
20  'Test::More'        => 0,
21  'Test::Warn'        => 0,
22 );
23
24 my %DC_PREREQ_PM = (
25  'Devel::Cover'                => '0.93',
26
27  'Browser::Open'               => '0',
28  'Digest::MD5'                 => '0',
29  'JSON::PP'                    => '0',
30  'PPI::HTML'                   => '1.07',
31  'Parallel::Iterator'          => '0',
32  'Pod::Coverage'               => '0.06',
33  'Pod::Coverage::CountParents' => '0',
34  'Storable'                    => '0',
35  'Template'                    => '2.00',
36 );
37
38 my %META = (
39  configure_requires => {
40   'ExtUtils::MakeMaker' => 0,
41   %DC_CONFIGURE,
42  },
43  build_requires => {
44   'ExtUtils::MakeMaker' => 0,
45   'Test::More'          => 0,
46   %DC_BUILD,
47  },
48  dynamic_config => 0,
49  resources => {
50   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
51   homepage   => "http://search.cpan.org/dist/$dist/",
52   license    => 'http://dev.perl.org/licenses/',
53   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
54  },
55 );
56
57 WriteMakefile(
58  NAME             => $name,
59  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
60  LICENSE          => 'perl',
61  VERSION_FROM     => $file,
62  ABSTRACT_FROM    => $file,
63  PL_FILES         => {},
64  PREREQ_PM        => \%DC_PREREQ_PM,
65  MIN_PERL_VERSION => '5.008002',
66  META_MERGE       => \%META,
67  dist             => {
68   PREOP    => "pod2text -u $file > \$(DISTVNAME)/README",
69   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
70  },
71  clean            => {
72   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt*"
73  }
74 );