]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/blob - Makefile.PL
Update VPIT::TestHelpers to 15e8aee3
[perl/modules/Acme-CPANAuthors-You-re_using.git] / Makefile.PL
1 use strict;
2 use warnings;
3 use ExtUtils::MakeMaker;
4
5 my $dist = 'Acme-CPANAuthors-You-re_using';
6
7 (my $name = $dist) =~ s{-}{::}g;
8
9 (my $file = $dist) =~ s{-}{/}g;
10 $file = "lib/$file.pm";
11
12 my %PREREQ_PM = (
13  'Acme::CPANAuthors' => '0.16',
14  'File::Find'        => 0,
15  'Module::Metadata'  => '1.000017',
16 );
17
18 my %BUILD_REQUIRES = (
19   'ExtUtils::MakeMaker' => 0,
20   'Test::More'          => 0,
21   'lib'                 => 0,
22   %PREREQ_PM,
23 );
24
25 my %META = (
26  configure_requires => {
27   'ExtUtils::MakeMaker' => 0,
28  },
29  build_requires => {
30   %BUILD_REQUIRES,
31  },
32  dynamic_config => 0,
33  resources => {
34   bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
35   homepage   => "http://search.cpan.org/dist/$dist/",
36   license    => 'http://dev.perl.org/licenses/',
37   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
38  },
39 );
40
41 WriteMakefile(
42  NAME             => $name,
43  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
44  LICENSE          => 'perl',
45  VERSION_FROM     => $file,
46  ABSTRACT_FROM    => $file,
47  PL_FILES         => {},
48  BUILD_REQUIRES   => \%BUILD_REQUIRES,
49  PREREQ_PM        => \%PREREQ_PM,
50  MIN_PERL_VERSION => '5.006',
51  META_MERGE       => \%META,
52  dist             => {
53   PREOP    => "pod2text -u $file > \$(DISTVNAME)/README",
54   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
55  },
56  clean            => {
57   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
58  },
59 );