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