forked from leejo/CGI.pm
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.PL
44 lines (38 loc) · 1.31 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
use ExtUtils::MakeMaker;
my $mm = $ExtUtils::MakeMaker::VERSION;
require 5.6.0;
system("perl", "t/gen-tests/gen-start-end-tags.pl");
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'INSTALLDIRS' => 'perl',
'NAME' => 'CGI',
'DISTNAME' => 'CGI.pm',
'VERSION_FROM' => 'lib/CGI.pm',
'PREREQ_PM' => {
'Test::More' => 0.80, # Ideally, this could be just a "test_requires"
'File::Spec' => .82,
'FCGI' => 0.67,
},
'linkext' => { LINKTYPE=>'' }, # no link needed
'dist' => {'COMPRESS'=>'gzip -9f', 'SUFFIX' => 'gz',
'ZIP'=>'/usr/bin/zip','ZIPFLAGS'=>'-rl'},
( $mm < 6.46
? ()
: ( META_MERGE => {
requires => {perl => '5.006000'},
resources => {
# homepage => 'http://FIXME.org',
# license => 'http://dev.perl.org/licenses/',
# MailingList => 'http://FIXME',
repository => 'http://github.com/markstos/CGI.pm/tree/master'
},
no_index => {directory => [qw/t/]}
},
META_ADD => {
build_requires => {},
configure_requires => {}
},
)
),
);