File: Makefile.PL

package info (click to toggle)
libtext-diff-perl 1.45-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 224 kB
  • sloc: perl: 1,059; makefile: 4
file content (42 lines) | stat: -rw-r--r-- 967 bytes parent folder | download | duplicates (2)
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
42
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/neilbowers/Text-Diff'
        }
      },

    ($mm_ver >= 6.48
        ? (MIN_PERL_VERSION => 5.006)
        : ()
    ),

);