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