The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
use strict;
use warnings;
use Module::Build;

my $builder = Module::Build->new(
    module_name       => 'Role::Basic',
    license           => 'perl',
    dist_author       => q{Curtis 'Ovid' Poe <ovid@cpan.org>},
    dist_version_from => 'lib/Role/Basic.pm',
    build_requires    => { 'Test::More' => 0, },

    # we could probably handle a somewhat older version, but this is six years
    # old and shouldn't be too problematic (we hope). This does mean that if
    # your perl < 5.7.3, it's possible you will have to install this.
    requires             => { 'Storable' => '2.15', },
    add_to_cleanup       => ['Role-Basic-*'],
    create_makefile_pl   => 'traditional',
    recursive_test_files => 1,
    meta_merge =>
      { resources => { repository => 'https://github.com/Ovid/Role-Basic' } },
);

$builder->create_build_script();