]> git.vpit.fr Git - perl/modules/Hash-Normalize.git/blob - Makefile.PL
This is 0.01
[perl/modules/Hash-Normalize.git] / Makefile.PL
1 use 5.010;
2
3 use strict;
4 use warnings;
5 use ExtUtils::MakeMaker;
6
7 my $dist = 'Hash-Normalize';
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  'Unicode::Normalize' => 0,
18  'Variable::Magic'    => '0.51',
19  'base'               => 0,
20 );
21
22 my %BUILD_REQUIRES = (
23  'ExtUtils::MakeMaker' => 0,
24  'Test::More'          => 0,
25  'lib'                 => 0,
26  %PREREQ_PM,
27 );
28
29 my %META = (
30  configure_requires => {
31   'ExtUtils::MakeMaker' => 0,
32  },
33  build_requires => {
34   %BUILD_REQUIRES,
35  },
36  dynamic_config => 0,
37  resources => {
38   bugtracker => "http://rt.cpan.org/Dist/Display.html?Name=$dist",
39   homepage   => "http://search.cpan.org/dist/$dist/",
40   license    => 'http://dev.perl.org/licenses/',
41   repository => "http://git.profvince.com/?p=perl%2Fmodules%2F$dist.git",
42  },
43 );
44
45 WriteMakefile(
46  NAME             => $name,
47  AUTHOR           => 'Vincent Pit <perl@profvince.com>',
48  LICENSE          => 'perl',
49  VERSION_FROM     => $file,
50  ABSTRACT_FROM    => $file,
51  PL_FILES         => {},
52  BUILD_REQUIRES   => \%BUILD_REQUIRES,
53  PREREQ_PM        => \%PREREQ_PM,
54  MIN_PERL_VERSION => '5.010',
55  META_MERGE       => \%META,
56  dist             => {
57   PREOP    => "pod2text -u $file > \$(DISTVNAME)/README",
58   COMPRESS => 'gzip -9f', SUFFIX => 'gz'
59  },
60  clean            => {
61   FILES => "$dist-* *.gcov *.gcda *.gcno cover_db Debian_CPANTS.txt"
62  },
63 );