-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile.PL
38 lines (34 loc) · 1.04 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
use strict;
use warnings FATAL => 'all';
use ExtUtils::MakeMaker;
if (eval ($ExtUtils::MakeMaker::VERSION) <= 6.55) {
print "\n[ERROR]: ExtUtils::MakeMaker >= 6.5503 is required to build the package correctly.\n";
print "The installed version is $ExtUtils::MakeMaker::VERSION.\n";
print "Install the latest ExtUtils::MakeMaker and try again. Exiting.\n";
exit(1);
}
BEGIN {
system("chmod +x bin/pairfq");
}
WriteMakefile(
NAME => 'Pairfq',
AUTHOR => q{S. Evan Staton <[email protected]>},
VERSION_FROM => 'bin/pairfq',
LICENSE => 'MIT',
PL_FILES => {},
MIN_PERL_VERSION => 5.010,
CONFIGURE_REQUIRES => {
'ExtUtils::MakeMaker' => 6.5503,
},
BUILD_REQUIRES => {
'Test::More' => 0,
},
PREREQ_PM => {
'DBD::SQLite' => 1.44,
'Tie::Hash::DBD' => 0.13,
},
INST_SCRIPT => 'blib/bin',
EXE_FILES => [ 'bin/pairfq' ],
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
test => { TESTS => 't/*.t' },
);