-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.PL
55 lines (46 loc) · 1.26 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
#!/usr/bin/perl
#
# Perl Makefile for Perlbal
# $Id: Makefile.PL 674 2007-05-15 19:49:29Z bradfitz $
#
# Invoke with 'perl Makefile.PL'
#
# See ExtUtils::MakeMaker (3) for more information on how to influence
# the contents of the Makefile that is written
#
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Perlbal',
VERSION_FROM => 'lib/Perlbal.pm',
AUTHOR => 'Brad Fitzpatrick <[email protected]>',
ABSTRACT_FROM => 'perlbal',
(
exists($ENV{DANGABUILD_MODULESONLY}) ?
() :
(EXE_FILES => [ 'perlbal' ]),
),
PREREQ_PM => {
'Danga::Socket' => '1.44',
'Sys::Syscall' => 0,
'BSD::Resource' => 0,
'HTTP::Date' => 0,
'HTTP::Response' => 0,
'Test::More' => 0,
'File::Find' => 0,
'Time::HiRes' => 0,
#'IO::AIO' => 1.6, # recommened.
},
(
exists($ENV{DANGABUILD_DAEMONONLY}) ?
(PM => {}, PMLIBDIRS => []):
(),
),
);
sub MY::postamble {
my $tab = chr(9);
return <<MAKE_FRAG;
docs :: docs/service-parameters.txt
docs/service-parameters.txt: lib/Perlbal/Service.pm
${tab}devtools/gendocs.pl service-parameters
MAKE_FRAG
}