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 |
*** For debian/ubuntu, this would get you there: apt-get install libadns1-dev |
11 |
*** |
12 |
|
13 |
EOF |
14 |
|
15 |
my $mm = MM->new({EV::MakeMaker::ev_args ( |
16 |
dist => { |
17 |
PREOP => 'pod2text ADNS.pm | tee README >$(DISTVNAME)/README; chmod -R u=rwX,go=rX . ;', |
18 |
COMPRESS => 'gzip -9v', |
19 |
SUFFIX => '.gz', |
20 |
}, |
21 |
NAME => "EV::ADNS", |
22 |
VERSION_FROM => "ADNS.pm", |
23 |
LIBS => ["-ladns"], |
24 |
PREREQ_FATAL => 1, |
25 |
PREREQ_PM => { |
26 |
EV => 1.3, |
27 |
}, |
28 |
EXTRA_META => q{ |
29 |
configure_requires: |
30 |
EV: 1.3 |
31 |
}, |
32 |
|
33 |
)}); |
34 |
|
35 |
$mm->flush; |
36 |
|