/usr/local/CPAN/POE-Component-Client-DNS/Makefile.PL
#!/usr/bin/perl
use ExtUtils::MakeMaker;
# Touch CHANGES so it exists.
open(CHANGES, ">>CHANGES") and close CHANGES;
WriteMakefile(
NAME => 'POE::Component::Client::DNS',
AUTHOR => 'Rocco Caputo <rcaputo@cpan.org>',
ABSTRACT => 'Non-blocking/concurrent DNS queries using Net::DNS and POE',
LICENSE => 'perl',
VERSION_FROM => 'lib/POE/Component/Client/DNS.pm',
PREREQ_PM => {
'POE' => 1.280,
'Net::DNS' => 0.59,
'Test::More' => 0,
'Test::NoWarnings' => 0.084,
},
META_ADD => {
resources => {
license => 'http://dev.perl.org/licenses/',
repository => 'http://github.com/rcaputo/poe-component-client-dns',
},
},
dist => {
COMPRESS => 'gzip -9f',
SUFFIX => 'gz',
PREOP => (
'git-log.pl | tee ./$(DISTNAME)-$(VERSION)/CHANGES > ./CHANGES'
),
},
);