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