1 |
root |
1.4 |
use 5.006; |
2 |
|
|
|
3 |
root |
1.1 |
use ExtUtils::MakeMaker; |
4 |
|
|
|
5 |
root |
1.3 |
print <<EOF; |
6 |
|
|
|
7 |
|
|
*** |
8 |
|
|
*** You need to install libevent (http://monkey.org/~provos/libevent/) separately |
9 |
|
|
*** first in a way so that the Makefile.PL can find both -levent and the event.h |
10 |
|
|
*** and evdns.h include files. |
11 |
|
|
*** |
12 |
root |
1.4 |
*** Version 1.3e or higher is recommended, but older 1.3 versions likely work too. |
13 |
root |
1.3 |
*** |
14 |
|
|
|
15 |
|
|
EOF |
16 |
|
|
|
17 |
root |
1.1 |
WriteMakefile( |
18 |
|
|
dist => { |
19 |
root |
1.2 |
PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
20 |
root |
1.1 |
COMPRESS => 'gzip -9v', |
21 |
|
|
SUFFIX => '.gz', |
22 |
|
|
}, |
23 |
root |
1.2 |
LIBS => ["-levent"], |
24 |
|
|
NAME => "EV", |
25 |
|
|
VERSION_FROM => "EV.pm", |
26 |
root |
1.5 |
PM => { |
27 |
|
|
'EV.pm' => '$(INST_LIBDIR)/EV.pm', |
28 |
|
|
'EV/AnyEvent.pm' => '$(INST_LIBDIR)/EV/AnyEvent.pm', |
29 |
|
|
'EV/DNS.pm' => '$(INST_LIBDIR)/EV/DNS.pm', |
30 |
|
|
'EV/EVAPI.h' => '$(INST_LIBDIR)/EV/EVAPI.h', |
31 |
|
|
'EV/MakeMaker.pm' => '$(INST_LIBDIR)/EV/MakeMaker.pm', |
32 |
|
|
}, |
33 |
root |
1.1 |
); |
34 |
|
|
|