-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
65 lines (62 loc) · 1.73 KB
/
Makefile.PL
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
54
55
56
57
58
59
60
61
62
63
64
65
use 5.006;
use strict;
use warnings;
use ExtUtils::MakeMaker;
use File::Spec();
my $dev_null = File::Spec->devnull();
my $binary = 'rsyslogd';
system("$binary -v 2>$dev_null >$dev_null") and die "Please install the $binary executable\n";
WriteMakefile(
NAME => 'Test::Rsyslog',
AUTHOR => q{David Dick <ddick@cpan.org>},
VERSION_FROM => 'lib/Test/Rsyslog.pm',
ABSTRACT_FROM => 'lib/Test/Rsyslog.pm',
( $ExtUtils::MakeMaker::VERSION >= 6.3002
? ( 'LICENSE' => 'perl' )
: () ),
(
$ExtUtils::MakeMaker::VERSION >= 6.48
? ( 'MIN_PERL_VERSION' => '5.006' )
: ()
),
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
url => 'https://github.com/david-dick/test-rsyslog',
web => 'https://github.com/david-dick/test-rsyslog',
type => 'git',
},
bugtracker => {
web => 'https://github.com/david-dick/test-rsyslog/issues'
},
},
},
LICENSE => 'perl_5',
PL_FILES => {},
MIN_PERL_VERSION => 5.006,
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 0,
'File::Spec' => 0,
'strict' => 0,
'warnings' => 0,
},
BUILD_REQUIRES => {
'Test::More' => 0,
'Sys::Syslog' => 0,
},
PREREQ_PM => {
'Carp' => 0,
'Config' => 0,
'English' => 0,
'FileHandle' => 0,
'File::Temp' => 0,
'Fcntl' => 0,
'File::Spec' => 0,
'POSIX' => 0,
'strict' => 0,
'warnings' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Test-Rsyslog-*' },
);