1 |
use ExtUtils::MakeMaker; |
2 |
use EV::MakeMaker; |
3 |
|
4 |
use Canary::Stability EV::ADNS => 1; |
5 |
|
6 |
print <<EOF; |
7 |
|
8 |
*** |
9 |
*** This is an interface to the asynchronous dns resolver library, libadns |
10 |
*** You need to have it installed before using this module. |
11 |
*** |
12 |
*** This module has only been tested with adns-1.4, earlier versions might |
13 |
*** work, but are not supported (upgrading is highly recommended due to |
14 |
*** the many bugs in earlier versions). |
15 |
*** |
16 |
*** For Debian GNU/Linux and Ubuntu, this would get you there: |
17 |
*** apt-get install libadns1-dev |
18 |
*** |
19 |
|
20 |
EOF |
21 |
|
22 |
my $mm = MM->new({EV::MakeMaker::ev_args ( |
23 |
dist => { |
24 |
PREOP => 'pod2text ADNS.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
25 |
COMPRESS => 'gzip -9v', |
26 |
SUFFIX => '.gz', |
27 |
}, |
28 |
NAME => "EV::ADNS", |
29 |
VERSION_FROM => "ADNS.pm", |
30 |
LIBS => ["-ladns"], |
31 |
PREREQ_FATAL => 1, |
32 |
PREREQ_PM => { |
33 |
EV => 2, |
34 |
}, |
35 |
CONFIGURE_REQUIRES => { |
36 |
EV => 2, |
37 |
"ExtUtils::MakeMaker" => 6.52, |
38 |
"Canary::Stability" => 0, |
39 |
}, |
40 |
)}); |
41 |
|
42 |
$mm->flush; |
43 |
|