|
#!/usr/bin/perl
open (CHANGES, ">>CHANGES" ) and close CHANGES;
my %prereq = (
'POE' => 0.27,
'HTTP::Request' => 1.30,
'HTTP::Response' => 1.37,
'URI' => 1.24,
'HTML::Parser' => 3.33,
);
ExtUtils::AutoInstall-> import
( -version => '0.54' ,
-core => [ %prereq ],
"Optional modules for SSL support." =>
[ -default => 0,
'Net::SSLeay' => 1.17,
'Net::SSLeay::Handle' => 0.61,
],
);
WriteMakefile
( NAME => 'POE::Component::Client::HTTP' ,
AUTHOR => 'Rocco Caputo <rcaputo@cpan.org>' ,
ABSTRACT => 'POE component for non-blocking/concurrent HTTP queries.' ,
VERSION_FROM => 'HTTP.pm' ,
PM => { 'HTTP.pm' => '$(INST_LIBDIR)/HTTP.pm' ,
'SSL.pm' => '$(INST_LIBDIR)/HTTP/SSL.pm' ,
},
PREREQ_PM => \ %prereq ,
dist =>
{ COMPRESS => 'gzip -9f' ,
SUFFIX => 'gz' ,
PREOP => ( 'cvs-log.perl | ' .
'tee ./$(DISTNAME)-$(VERSION)/CHANGES > ./CHANGES'
),
},
);
|