]> git.vpit.fr Git - perl/modules/Acme-CPANAuthors-You-re_using.git/blob - Makefile.PL
49f9a42e3b7a15744c0259a97db643579d6d229a
[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,
14  'Carp'                => 0,
15  'ExtUtils::Installed' => 0,
16 );
17
18 my %META = (
19  configure_requires => {
20   'ExtUtils::MakeMaker' => 0,
21  },
22  build_requires => {
23   'Acme::CPANAuthors'   => 0,
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 $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 );