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