use Module::Build;
# See perldoc Module::Build for details of how this works

my $build_pkg   = eval { require Apache::TestMB }
                ? 'Apache::TestMB'
                : 'Module::Build';

$build_pkg->new(
    module_name         => 'PS::IPP::IData',
    dist_version_from   => 'lib/PS/IPP/IData/Server.pm',
    author              => 'Joshua Hoblitt <jhoblitt@cpan.org>',
    license             => 'gpl',
    requires            => {
        'URI'                   => 1.30,
        'SOAP::Lite'            => 0.60,
        'Log::Log4perl'         => 0.48,
        'DBI'                   => 1.42,
        'DBD::mysql'            => 2.9004,
        'Class::Accessor::Fast' => 0,
        'Params::Validate'      => 0,
        'Apache::Test'          => 1.12,
        'Test::More'            => 0.49,
    },
    recommends          => {
        'Apache::DBI'           => 0.94,
    },
    build_requires      => {
        'File::Temp'            => 0,
    },
)->create_build_script;
