1 |
use 5.006; |
2 |
|
3 |
use ExtUtils::MakeMaker; |
4 |
|
5 |
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 |
*** Version 1.3e or higher is recommended, but older 1.3 versions likely work too. |
13 |
*** |
14 |
|
15 |
EOF |
16 |
|
17 |
WriteMakefile( |
18 |
dist => { |
19 |
PREOP => 'pod2text EV.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
20 |
COMPRESS => 'gzip -9v', |
21 |
SUFFIX => '.gz', |
22 |
}, |
23 |
LIBS => ["-levent"], |
24 |
NAME => "EV", |
25 |
VERSION_FROM => "EV.pm", |
26 |
); |
27 |
|