]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/blob - Makefile.PL
Replace ExtUtils::Installed by File::Find/Module::Metadata
[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  'Carp'              => 0,
15  'File::Find'        => 0,
16  'Module::Metadata'  => '1.000005',
17 );
18
19 my %META = (
20  configure_requires => {
21   'ExtUtils::MakeMaker' => 0,
22  },
23  build_requires => {
24   'ExtUtils::MakeMaker' => 0,
25   'Test::More'          => 0,
26   %PREREQ_PM,
27  },
28  dynamic_config => 0,
29  resources => {
30   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
31   homepage   => "http://search.cpan.org/dist/$dist/",
32   license    => 'http://dev.perl.org/licenses/',
33   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
34  },
35 );
36
37 WriteMakefile(
38  NAME             => $name,
39  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
40  LICENSE          => 'perl',
41  VERSION_FROM     => $file,
42  ABSTRACT_FROM    => $file,
43  PL_FILES         => {},
44  PREREQ_PM        => \%PREREQ_PM,
45  MIN_PERL_VERSION => 5.006,
46  META_MERGE       => \%META,
47  dist             => {
48   PREOP    => "pod2text -u $file > \$(DISTVNAME)/README",
49   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
50  },
51  clean            => {
52   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
53  },
54 );