summaryrefslogtreecommitdiff
path: root/Makefile.PL
blob: 90b3ba311838683c28b270105900276669e48f18 (plain)
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
# -*- perl -*-

BEGIN { require 5.004; }

use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
    ABSTRACT     => 'Extract distribution name and version from a distribution filename',
    AUTHOR       => q[Graham Barr <gbarr@cpan.org>],
    NAME         => q[CPAN::DistnameInfo],
    PREREQ_PM    => {
      'Test::More' => 0,
    },
    VERSION_FROM => 'lib/CPAN/DistnameInfo.pm',
    (eval { ExtUtils::MakeMaker->VERSION(6.21) } ? (LICENSE => 'perl') : ()),
    (   eval { ExtUtils::MakeMaker->VERSION(6.46) } ? (
            META_MERGE => {
                resources => {    ##
                    repository => 'http://github.com/gbarr/CPAN-DistnameInfo',
                },
            }
          )
        : ()
    ),
);