-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.PL
41 lines (36 loc) · 1.09 KB
/
Makefile.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
use 5.008_008;
use strict;
use warnings;
use ExtUtils::MakeMaker;
my $pm = 'lib/Text/Levenshtein/Damerau/XS.pm';
my $repo = 'https://github.com/ugexe/Text--Levenshtein--Damerau--XS';
my $bugs = 'https://rt.cpan.org/Public/Dist/Display.html?Name=Text-Levenshtein-Damerau-XS';
WriteMakefile (
NAME => 'Text::Levenshtein::Damerau::XS',
VERSION_FROM => $pm,
ABSTRACT_FROM => $pm,
AUTHOR => 'Nick Logan <ugexe@cpan.org>',
LICENSE => 'perl',
MIN_PERL_VERSION => '5.008008',
BUILD_REQUIRES => {
'CPAN::Meta::Requirements' => '2.120920',
},
TEST_REQUIRES => {
'Test::More' => '0',
},
META_MERGE => {
resources => {
repository => $repo,
bugtracker => $bugs,
},
provides => {
'Text::Levenshtein::Damerau::XS' => {
file => 'lib/Text/Levenshtein/Damerau/XS.pm',
version => '3.2',
},
},
},
depend => { '$(FIRST_MAKEFILE)' => '$(VERSION_FROM)' },
);
# Remove the Makefile dependency. Causes problems on a few systems.
sub MY::makefile { '' }