1use ExtUtils::MakeMaker;
2
3my $mm_ver = $ExtUtils::MakeMaker::VERSION;
4if ($mm_ver =~ /_/) { # developer release
5    $mm_ver = eval $mm_ver;
6    die $@ if $@;
7}
8
9WriteMakefile(
10  NAME	          => 'Lingua::EN::MatchNames',
11  AUTHOR          => 'Brian Lalonde (brian@webcoder.info)',
12  LICENSE         => 'perl',
13  VERSION_FROM    => 'MatchNames.pm',
14  ABSTRACT_FROM   => 'MatchNames.pm',
15  PREREQ_PM       =>
16  {
17    'Lingua::EN::NameParse' => 0,
18    'Lingua::EN::Nickname'  => 0,
19    'String::Approx'        => 0,
20    'Text::Metaphone'       => 0,
21    'Text::Soundex'         => 0,
22  },
23
24  ($mm_ver <= 6.45
25    ? ()
26    : (META_MERGE => {
27      'meta-spec' => { version => 2 },
28        resources => {
29          repository  => {
30            type => 'git',
31            web  => 'https://github.com/brianary/Lingua-EN-MatchNames',
32            url  => 'https://github.com/brianary/Lingua-EN-MatchNames.git',
33          },
34        },
35      })
36  ),
37
38);
39