use strict;
use Module::Build;

my $build = Module::Build->new(
    create_makefile_pl => 'traditional',
    license            => 'perl',
    module_name        => 'Catalyst::Plugin::Session::Store::FastMmap',
    requires           => {
        'Catalyst::Plugin::Session' => '0.09',
        ($^O eq 'MSWin32' 
            ? 'Cache::FastMmap::WithWin32'
            : 'Cache::FastMmap'          
        ) => 1.13,
        'File::Temp'                => 0,
        'File::Spec'                => 0,
        'Path::Class'               => 0,
    },
    create_readme => 1,
    sign          => 1,
);
$build->create_build_script;

