-
Notifications
You must be signed in to change notification settings - Fork 46
/
Makefile.PL
56 lines (47 loc) · 1.29 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
#!/usr/bin/perl
#
# Perl Makefile for Perlbal
# $Id$
#
# 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,
'LWP' => 0, # FIXME this is way too general, be more specific
#'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
}