ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/Makefile.PL
Revision: 1.42
Committed: Tue Jun 16 03:04:26 2015 UTC (8 years, 11 months ago) by root
Content type: text/plain
Branch: MAIN
Changes since 1.41: +3 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 use ExtUtils::MakeMaker;
2
3 use 5.008001; # AnyEvent perl event loop seems to work with 5.6, other modules not
4
5 eval 'use Canary::Stability AnyEvent => 1';
6
7 print <<EOF;
8
9 ***
10 *** The EV module is recommended for even better performance, unless you
11 *** have to use one of the other adaptors (Event, Glib, Tk, etc.).
12 *** The Async::Interrupt module is highly recommended to efficiently avoid
13 *** race conditions in/with other event loops.
14 ***
15 *** This module does not have ANY dependencies, even if it might look
16 *** otherwise. If you are building a distribution package or have
17 *** difficulties installing this package due to dependencies, report this
18 *** to the packager as a bug.
19 ***
20 *** This module is guaranteed to stay 100% pure-perl, full-featured
21 *** and performant, even without any of the optional modules.
22 ***
23
24 EOF
25
26 do "constants.pl.PL"
27 or die "cannot execute constants.pl.PL: $@";
28
29 WriteMakefile(
30 dist => {
31 PREOP => 'pod2text lib/AnyEvent.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;',
32 COMPRESS => 'gzip -9v',
33 SUFFIX => '.gz',
34 },
35 test => { TESTS => "t/*.t t/handle/*.t" },
36 NAME => "AnyEvent",
37 VERSION_FROM => "lib/AnyEvent.pm",
38 PMLIBDIRS => ["lib"],
39 # PREREQ_PM => {
40 # Task::Weaken => 0,
41 # },
42 CONFIGURE_REQUIRES => { ExtUtils::MakeMaker => 6.52, Canary::Stability => 0 },
43 META_MERGE => {
44 recommends => {
45 "Task::Weaken" => 0,
46 "Net::SSLeay" => 1.33,
47 "JSON" => 2.09,
48 "JSON::XS" => 2.2,
49 "EV" => 4.00,
50 "Guard" => 1.02,
51 "Async::Interrupt" => 1.0,
52 }
53 },
54 PM => {
55 'lib/AE.pm' => '$(INST_LIB)/AE.pm',
56 'lib/AnyEvent.pm' => '$(INST_LIB)/AnyEvent.pm',
57 'lib/AnyEvent/DNS.pm' => '$(INST_LIB)/AnyEvent/DNS.pm',
58 'lib/AnyEvent/Debug.pm' => '$(INST_LIB)/AnyEvent/Debug.pm',
59 'lib/AnyEvent/FAQ.pod' => '$(INST_LIB)/AnyEvent/FAQ.pod',
60 'lib/AnyEvent/Handle.pm' => '$(INST_LIB)/AnyEvent/Handle.pm',
61 'lib/AnyEvent/Impl/Cocoa.pm' => '$(INST_LIB)/AnyEvent/Impl/Cocoa.pm',
62 'lib/AnyEvent/Impl/EV.pm' => '$(INST_LIB)/AnyEvent/Impl/EV.pm',
63 'lib/AnyEvent/Impl/Event.pm' => '$(INST_LIB)/AnyEvent/Impl/Event.pm',
64 'lib/AnyEvent/Impl/EventLib.pm' => '$(INST_LIB)/AnyEvent/Impl/EventLib.pm',
65 'lib/AnyEvent/Impl/FLTK.pm' => '$(INST_LIB)/AnyEvent/Impl/FLTK.pm',
66 'lib/AnyEvent/Impl/Glib.pm' => '$(INST_LIB)/AnyEvent/Impl/Glib.pm',
67 'lib/AnyEvent/Impl/IOAsync.pm' => '$(INST_LIB)/AnyEvent/Impl/IOAsync.pm',
68 'lib/AnyEvent/Impl/Irssi.pm' => '$(INST_LIB)/AnyEvent/Impl/Irssi.pm',
69 'lib/AnyEvent/Impl/POE.pm' => '$(INST_LIB)/AnyEvent/Impl/POE.pm',
70 'lib/AnyEvent/Impl/Perl.pm' => '$(INST_LIB)/AnyEvent/Impl/Perl.pm',
71 'lib/AnyEvent/Impl/Qt.pm' => '$(INST_LIB)/AnyEvent/Impl/Qt.pm',
72 'lib/AnyEvent/Impl/Tk.pm' => '$(INST_LIB)/AnyEvent/Impl/Tk.pm',
73 'lib/AnyEvent/Impl/UV.pm' => '$(INST_LIB)/AnyEvent/Impl/UV.pm',
74 'lib/AnyEvent/IO.pm' => '$(INST_LIB)/AnyEvent/IO.pm',
75 'lib/AnyEvent/IO/IOAIO.pm' => '$(INST_LIB)/AnyEvent/IO/IOAIO.pm',
76 'lib/AnyEvent/IO/Perl.pm' => '$(INST_LIB)/AnyEvent/IO/Perl.pm',
77 'lib/AnyEvent/Intro.pod' => '$(INST_LIB)/AnyEvent/Intro.pod',
78 'lib/AnyEvent/Log.pm' => '$(INST_LIB)/AnyEvent/Log.pm',
79 'lib/AnyEvent/Loop.pm' => '$(INST_LIB)/AnyEvent/Loop.pm',
80 'lib/AnyEvent/Socket.pm' => '$(INST_LIB)/AnyEvent/Socket.pm',
81 'lib/AnyEvent/Strict.pm' => '$(INST_LIB)/AnyEvent/Strict.pm',
82 'lib/AnyEvent/TLS.pm' => '$(INST_LIB)/AnyEvent/TLS.pm',
83 'lib/AnyEvent/Util.pm' => '$(INST_LIB)/AnyEvent/Util.pm',
84 'lib/AnyEvent/Util/idna.pl' => '$(INST_LIB)/AnyEvent/Util/idna.pl',
85 'lib/AnyEvent/Util/uts46data.pl' => '$(INST_LIB)/AnyEvent/Util/uts46data.pl',
86 'lib/AnyEvent/constants.pl' => '$(INST_ARCHLIB)/AnyEvent/constants.pl',
87 },
88 );
89