1 |
use ExtUtils::MakeMaker; |
2 |
use EV::MakeMaker; |
3 |
|
4 |
print <<EOF; |
5 |
|
6 |
*** |
7 |
*** This module requires phreads (listening to -lpthread) |
8 |
*** A pthreads implementation for windows can be found at |
9 |
*** http://sourceware.org/pthreads-win32/ |
10 |
*** |
11 |
|
12 |
EOF |
13 |
|
14 |
my $mm = MM->new({EV::MakeMaker::ev_args ( |
15 |
dist => { |
16 |
PREOP => 'pod2text Async.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
17 |
COMPRESS => 'gzip -9v', |
18 |
SUFFIX => '.gz', |
19 |
}, |
20 |
NAME => "EV::Loop::Async", |
21 |
VERSION_FROM => "Async.pm", |
22 |
LIBS => ["-lpthread"], |
23 |
PREREQ_FATAL => 1, |
24 |
PREREQ_PM => { |
25 |
EV => 3.6, #TODO bump |
26 |
Async::Interrupt => 0, |
27 |
common::sense => 0, |
28 |
}, |
29 |
META_MERGE => { |
30 |
configure_requires => { |
31 |
EV => 2.0, |
32 |
}, |
33 |
}, |
34 |
)}); |
35 |
|
36 |
$mm->flush; |
37 |
|