]> git.vpit.fr Git - perl/modules/rgit.git/blob - Makefile.PL
Point the repository to the gitweb instead of the bare repo
[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  resources => {
24   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
25   homepage   => "http://search.cpan.org/dist/$dist/",
26   license    => 'http://dev.perl.org/licenses/',
27   repository => "http://git.profvince.com/?p=perl/modules/$dist.git",
28  },
29 );
30
31 WriteMakefile(
32     NAME             => 'rgit',
33     AUTHOR           => 'Vincent Pit <perl@profvince.com>',
34     LICENSE          => 'perl',
35     VERSION_FROM     => 'lib/App/Rgit.pm',
36     ABSTRACT         => 'Recursively execute a command on all the git repositories in a directory tree.',
37     PL_FILES         => { },
38     EXE_FILES        => [ 'bin/rgit' ],
39     PREREQ_PM        => {
40         'Carp'                  => 0,
41         'Cwd'                   => 0,
42         'Exporter'              => 0,
43         'File::Find'            => 0,
44         'File::Spec::Functions' => 0,
45         'Object::Tiny'          => 0,
46         'POSIX'                 => 0,
47     },
48     MIN_PERL_VERSION => 5.008,
49     META_MERGE       => \%META,
50     dist             => {
51         PREOP    => 'pod2text bin/rgit > $(DISTVNAME)/README',
52         COMPRESS => 'gzip -9f', SUFFIX => 'gz'
53     },
54     clean            => {
55         FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
56     }
57 );