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