File: Makefile.PL

package info (click to toggle)
libnet-dict-perl 2.21-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 272 kB
  • ctags: 67
  • sloc: perl: 2,257; makefile: 11
file content (53 lines) | stat: -rw-r--r-- 1,231 bytes parent folder | download
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
43
44
45
46
47
48
49
50
51
52
53
#
# Makefile.PL for Net-Dict
#
#

use ExtUtils::MakeMaker;

my $mm_ver = $ExtUtils::MakeMaker::VERSION;
if ($mm_ver =~ /_/) { # dev version
    $mm_ver = eval $mm_ver;
    die $@ if $@;
}

&WriteMakefile(
    NAME		=> 'Net::Dict',
    DISTNAME	=> 'Net-Dict',
    VERSION_FROM	=> 'lib/Net/Dict.pm',
    PREREQ_PM	=> {
                     'IO::Socket'     => 0,
                     'Net::Cmd'	      => 0,
                     'Carp'		      => 0,
                     'AppConfig::Std' => 0,
                    },
    EXE_FILES	=> [qw(dict tkdict)],
    AUTHOR		=> 'Neil Bowers <neil@bowers.com>',
    ABSTRACT_FROM	=> 'lib/Net/Dict.pod',
    META_MERGE => {
        resources => {
            repository => 'https://github.com/neilbowers/Net-Dict',
        },
        no_index => {
            package => ['Net::Dict::TestConfig'],
        }
    },
    LICENSE      => 'perl',
    dist		=> {COMPRESS => 'gzip', SUFFIX => 'gz'},

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

    ($mm_ver >= 6.64
        ? (TEST_REQUIRES => {
                'Test::More' => 0.88,
                'Test::Differences' => 0.62,
                'Test::RequiresInternet' => 0.05,
          })
        : ()
    ),

);