]> git.vpit.fr Git - perl/modules/rgit.git/blob - Makefile.PL
Give an explicit value to dynamic_config
[perl/modules/rgit.git] / Makefile.PL
1 use 5.008;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'rgit';
8
9 my %META = (
10  configure_requires => {
11   'ExtUtils::MakeMaker' => 0,
12  },
13  build_requires => {
14   'Cwd'                   => 0,
15   'ExtUtils::MakeMaker'   => 0,
16   'File::Spec::Functions' => 0,
17   'File::Temp'            => 0,
18   'Test::More'            => 0,
19  },
20  recommends => {
21   'Term::ReadKey' => 0,
22  },
23  dynamic_config => 0,
24  resources => {
25   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
26   homepage   => "http://search.cpan.org/dist/$dist/",
27   license    => 'http://dev.perl.org/licenses/',
28   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
29  },
30 );
31
32 WriteMakefile(
33     NAME             => 'rgit',
34     AUTHOR           => 'Vincent Pit <perl@profvince.com>',
35     LICENSE          => 'perl',
36     VERSION_FROM     => 'lib/App/Rgit.pm',
37     ABSTRACT         => 'Recursively execute a command on all the git repositories in a directory tree.',
38     PL_FILES         => { },
39     EXE_FILES        => [ 'bin/rgit' ],
40     PREREQ_PM        => {
41         'Carp'                  => 0,
42         'Cwd'                   => 0,
43         'Exporter'              => 0,
44         'File::Find'            => 0,
45         'File::Spec::Functions' => 0,
46         'Object::Tiny'          => 0,
47         'POSIX'                 => 0,
48         'base'                  => 0,
49     },
50     MIN_PERL_VERSION => 5.008,
51     META_MERGE       => \%META,
52     dist             => {
53         PREOP    => 'pod2text bin/rgit > $(DISTVNAME)/README',
54         COMPRESS => 'gzip -9f', SUFFIX => 'gz'
55     },
56     clean            => {
57         FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
58     }
59 );