-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMakefile.PL
More file actions
39 lines (34 loc) · 936 Bytes
/
Makefile.PL
File metadata and controls
39 lines (34 loc) · 936 Bytes
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
use strict;
BEGIN {
require 5.005_03;
}
use ExtUtils::MakeMaker;
my $mm_ver = $ExtUtils::MakeMaker::VERSION;
if ($mm_ver =~ /_/) { # dev version
$mm_ver = eval $mm_ver;
die $@ if $@;
}
WriteMakefile(
NAME => 'Text::Diff',
ABSTRACT => 'Perform diffs on files and record sets',
VERSION_FROM => 'lib/Text/Diff.pm',
PREREQ_PM => {
'Exporter' => 0,
'Algorithm::Diff' => '1.19',
},
( $] >= 5.005 ? ( AUTHOR => 'Adam Kennedy <adamk@cpan.org>', ) : () ),
(
$ExtUtils::MakeMaker::VERSION ge '6.30_00' ? ( LICENSE => 'perl', ) : ()
),
(
$ExtUtils::MakeMaker::VERSION ge '6.46'
? ( META_MERGE => { build_requires => { Test => 0 } } )
: ()
),
META_MERGE =>
{ resources => { repository => 'https://github.com/Ovid/Text-Diff' } },
($mm_ver >= 6.48
? (MIN_PERL_VERSION => 5.006)
: ()
),
);