File: Makefile.PL

package info (click to toggle)
libsnmp-session-perl 1.16-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 984 kB
  • sloc: perl: 11,929; ansic: 25; makefile: 15
file content (52 lines) | stat: -rw-r--r-- 1,112 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
use strict;
use warnings;

use ExtUtils::MakeMaker;

my $EUMM_VERSION = eval($ExtUtils::MakeMaker::VERSION);

WriteMakefile(
    'ABSTRACT_FROM' => 'lib/SNMP_Session.pm',
    'AUTHOR' => [
	'Simon Leinen <simon.leinen@gmail.com>',
	'Mike Mitchell',
    ],
    'LICENSE' => 'artistic_2',
    'NAME' => 'SNMP_Session',
    'PREREQ_PM' => {
	'Carp' => 0,
	'Exporter' => 0,
	'IO::Socket' => 0,
	'IO::Socket::INET6' => 0,
	'Net::SNMP' => 0,
	'Socket' => 0,
	'Socket6' => 0,
	'strict' => 0,
	'vars' => 0,
    },
    'VERSION_FROM' => 'lib/SNMP_Session.pm', # finds $VERSION
    'dist' => {
	COMPRESS=>'gzip -9f',
	SUFFIX => 'gz',
    },
    'test' => {
        TESTS => 't/*.t'
    },
    ($EUMM_VERSION >= 6.46 ? (
	META_MERGE => {
	    test_requires => {
		'Test::More' => 0,
	    },
	    resources => {
		repository => 'https://github.com/sleinen/snmp-session',
		bugtracker => 'https://github.com/sleinen/snmp-session/issues',
	    },
	}
    ) : ()),
    ($EUMM_VERSION >= 6.48 ? (MIN_PERL_VERSION => '5.6.0') : ()),
    ($EUMM_VERSION >= 6.64 ? (
	'TEST_REQUIRES' => {
	    'Test::More' => 0,
	},
    ) : ()),
);