ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/EV/Makefile.PL
Revision: 1.5
Committed: Mon Oct 29 08:48:07 2007 UTC (16 years, 6 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-0_03
Changes since 1.4: +7 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
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 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 );
34