]> git.vpit.fr Git - perl/modules/Test-Leaner.git/blob - Makefile.PL
Test is_deeply against deep datastructures
[perl/modules/Test-Leaner.git] / Makefile.PL
1 use 5.006;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'Test-Leaner';
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  'Exporter'     => 0,
16  'Scalar::Util' => 0,
17  'Test::More'   => 0,
18 );
19
20 my %META = (
21  configure_requires => {
22   'ExtUtils::MakeMaker' => 0,
23  },
24  build_requires => {
25   'ExtUtils::MakeMaker' => 0,
26   %PREREQ_PM,
27  },
28  dynamic_config => 0,
29  resources => {
30   bugtracker => "http://rt.cpan.org/NoAuth/ReportBug.html?Queue=$dist",
31   homepage   => "http://search.cpan.org/dist/$dist/",
32   license    => 'http://dev.perl.org/licenses/',
33   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
34  },
35 );
36
37 WriteMakefile(
38  NAME             => $name,
39  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
40  LICENSE          => 'perl',
41  VERSION_FROM     => $file,
42  ABSTRACT_FROM    => $file,
43  PL_FILES         => {},
44  PREREQ_PM        => \%PREREQ_PM,
45  MIN_PERL_VERSION => 5.006,
46  META_MERGE       => \%META,
47  dist             => {
48   PREOP    => "pod2text $file > \$(DISTVNAME)/README",
49   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
50  },
51  clean            => {
52   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
53  },
54 );