From: Simon Wistow Date: Fri, 22 Aug 2008 22:39:30 +0000 (+0000) Subject: Switch to Module::Build X-Git-Tag: v0.20~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bfcc8cf0768582e07c6bf222779cf809e0c8d976;p=catagits%2FXML-Feed.git Switch to Module::Build --- diff --git a/Build.PL b/Build.PL index 9d1877e..5932e9a 100644 --- a/Build.PL +++ b/Build.PL @@ -1,3 +1,28 @@ # $Id: Build.PL 918 2004-05-29 17:29:55Z btrott $ +use Module::Build; + +my $build = Module::Build + ->new( module_name => "XML::Feed", + dist_abstract => "XML Syndication Feed Support", + license => 'perl', + script_files => [ ], + requires => { + 'Class::ErrorHandler' => 0, + 'DateTime' => 0, + 'DateTime::Format::Mail' => 0, + 'DateTime::Format::W3CDTF' => 0, + 'Feed::Find' => 0, + 'HTML::TokeParser' => 0, + 'List::Util' => 0, + 'LWP::UserAgent' => 0, + 'URI::Fetch' => 0, + 'XML::RSS' => 1.01, + 'XML::Atom' => 0.23, + 'Test::More' => 0, + }, + create_makefile_pl => 'traditional', + ); + +$build->create_build_script; + -require 'Makefile.PL';