]> git.vpit.fr Git - perl/modules/rgit.git/blob - Makefile.PL
Don't depend on Object::Tiny anymore
[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::Functions' => 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   'File::Spec::Functions' => 0,
29   'File::Temp'            => 0,
30   'Test::More'            => 0,
31   %PREREQ_PM,
32  },
33  recommends => {
34   'Term::ReadKey' => 0,
35  },
36  dynamic_config => 0,
37  resources => {
38   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
39   homepage   => "http://search.cpan.org/dist/$dist/",
40   license    => 'http://dev.perl.org/licenses/',
41   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
42  },
43 );
44
45 WriteMakefile(
46  NAME             => $name,
47  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
48  LICENSE          => 'perl',
49  VERSION_FROM     => 'lib/App/Rgit.pm',
50  ABSTRACT         => 'Recursively execute a command on all the git repositories in a directory tree.',
51  PL_FILES         => { },
52  EXE_FILES        => [ 'bin/rgit' ],
53  PREREQ_PM        => \%PREREQ_PM,
54  MIN_PERL_VERSION => 5.008,
55  META_MERGE       => \%META,
56  dist             => {
57   PREOP    => 'pod2text bin/rgit > $(DISTVNAME)/README',
58   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
59  },
60  clean            => {
61   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
62  }
63 );