use ExtUtils::MakeMaker;

my %opts = (
    'NAME'         => 'Badger',
    'VERSION_FROM' => 'lib/Badger.pm',
    'PMLIBDIRS'    => [ 'lib' ], 
    'dist'         => {
        'COMPRESS' => 'gzip',
        'SUFFIX'   => 'gz',
    },
    'test'         => {
        'TESTS'    => join(' ', glob 't/*/*.t'),
    },
);

if ($ExtUtils::MakeMaker::VERSION >= 5.43) {
    $opts{ AUTHOR   } = 'Andy Wardley <abw@wardley.org>';
    $opts{ ABSTRACT } = 'Application programming toolkit',
}

WriteMakefile( %opts );

