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