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