]> git.vpit.fr Git - perl/modules/B-RecDeparse.git/blob - Makefile.PL
Put prerequisites in their own separate hash
[perl/modules/B-RecDeparse.git] / Makefile.PL
1 use 5.008;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'B-RecDeparse';
8
9 my %PREREQ_PM = (
10  'B::Deparse' => 0,
11  'Config'     => 0,
12  'Carp'       => 0,
13  'base'       => 0,
14 );
15
16 my %META = (
17  configure_requires => {
18   'ExtUtils::MakeMaker' => 0,
19  },
20  build_requires => {
21   'ExtUtils::MakeMaker' => 0,
22   'Test::More'          => 0,
23   %PREREQ_PM,
24  },
25  dynamic_config => 0,
26  resources => {
27   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
28   homepage   => "http://search.cpan.org/dist/$dist/",
29   license    => 'http://dev.perl.org/licenses/',
30   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
31  },
32 );
33
34 WriteMakefile(
35     NAME             => 'B::RecDeparse',
36     AUTHOR           => 'Vincent Pit <perl@profvince.com>',
37     LICENSE          => 'perl',
38     VERSION_FROM     => 'lib/B/RecDeparse.pm',
39     ABSTRACT_FROM    => 'lib/B/RecDeparse.pm',
40     PL_FILES         => {},
41     PREREQ_PM        => \%PREREQ_PM,
42     MIN_PERL_VERSION => 5.008,
43     META_MERGE       => \%META,
44     dist             => {
45         PREOP    => 'pod2text lib/B/RecDeparse.pm > $(DISTVNAME)/README',
46         COMPRESS => 'gzip -9f', SUFFIX => 'gz'
47     },
48     clean            => {
49         FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
50     }
51 );