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

Module::Build->new(
    module_name         => 'Nebulous',
    dist_version_from   => 'lib/Nebulous/Server.pm',
    author              => 'Joshua Hoblitt <jhoblitt@cpan.org>',
    license             => 'gpl',
    create_makefile_pl  => 'passthrough',
    requires            => {
        'Apache2::Const'        => 0,
        'Class::Accessor::Fast' => 0,
        'Config::YAML'          => '1.42',
        'DBD::mysql'            => '3.0007',
        'DBI'                   => '1.53',
        'Digest::SHA1'          => 0,
        'File::ExtAttr'         => '1.03',
        'File::Path'            => '1.08',
        'File::Spec'            => 0,
        'File::Spec::Functions' => 0,
        'File::Temp'            => 0,
        'Log::Log4perl'         => '0.48',
        'Net::Server::Daemonize'=> '0.05',
        'Params::Validate'      => '0.73',
        'SOAP::Lite'            => '0.69',
        'Sys::Statistics::Linux::DiskUsage' => '0.02',
        'URI'                   => '1.30',
    },
    build_requires      => {
        'Test::More'            => '0.49',
        'Test::URI'             => '1.06',
    },
    recommends          => {
        'Test::Distribution'    => '1.22',
        'Apache2::SOAP'         => 0,
        'Apache::DBI'           => '1.05',
    },
    script_files        => [qw(
        bin/neb-addvol
        bin/neb-admin
        bin/neb-fsck
        bin/neb-initdb
        bin/nebdiskd
    )],
)->create_build_script;
