/usr/local/CPAN/HTTP-MobileAgent-Plugin-Location/Build.PL
use strict;
use warnings;
use Module::Build;
my $builder = Module::Build->new(
module_name => 'HTTP::MobileAgent::Plugin::Location',
license => 'perl',
dist_author => 'OHTSUKA Ko-hei <nene@kokogiko.net>',
dist_version_from => 'lib/HTTP/MobileAgent/Plugin/Location.pm',
requires => {
'Test::Base' => 0,
'version' => 0,
'CGI' => 0,
'Class::Data::Inheritable' => 0,
'Class::Accessor::Fast' => 0,
'HTTP::MobileAgent' => 0.27,
'URI' => 0,
'URI::QueryParam' => 0,
'URI::Escape' => 0,
},
auto_features => {
'Location::GeoTool' => {
description => "Use location object as Location::GeoTool",
requires => {
'Location::GeoTool' => 2,
},
},
'Geo::Point' => {
description => "Use location object as Geo::Point",
requires => {
'Geo::Point' => 0,
'Geo::Proj::Japan' => 0,
'Geo::Point::Plugin::Transform' => 0,
},
},
'Geo::Coordinates::Converter' => {
description => "Use location object as Geo::Coordinates::Converter",
requires => {
'Geo::Coordinates::Converter' => 0,
},
},
},
add_to_cleanup => [ 'HTTP-MobileAgent-Plugin-Location-*' ],
);
$builder->create_build_script();