-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile.PL
31 lines (26 loc) · 956 Bytes
/
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
use 5.010;
use strict;
use warnings;
use ExtUtils::MakeMaker;
my %parms = (
NAME => 'App::Mysql::CheckAutoIncrement',
AUTHOR => 'Moritz Lenz <mlenz@noris.net>',
ABSTRACT => 'NRPE/Nagios check for overflowing mysql auto_increment columns',
VERSION_FROM => 'check.autoincrement',
EXE_FILES => [ 'check.autoincrement' ],
PREREQ_PM => {
'DBI' => 0,
'DBD::mysql' => 0,
# the following are core modules
'Getopt::Long' => 0,
'strict' => 0,
'warnings' => 0,
'utf8' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'nytprof*' },
);
if ( $ExtUtils::MakeMaker::VERSION =~ /^\d\.\d\d$/ and $ExtUtils::MakeMaker::VERSION > 6.30 ) {
$parms{LICENSE} = 'artistic_2';
}
WriteMakefile( %parms );