use
Module::Build;
my
$build
= Module::Build->new(
module_name
=>
'Tie::Hash::Cannabinol'
,
dist_version
=>
'1.12.1'
,
license
=>
'perl'
,
requires
=> {
perl
=>
'5.6.0'
,
'Tie::Hash'
=> 0,
'Attribute::Handlers'
=> 0,
},
build_requires
=> {
'Test::More'
=> 0,
},
build_recommends
=> {
'Test::Pod'
=> 0,
'Test::Pod::Coverage'
=> 0,
},
create_makefile_pl
=>
'traditional'
,
meta_merge
=> {
'meta-spec'
=> {
version
=> 2 },
resources
=> {
repository
=> {
type
=>
'git'
,
},
},
},
);
$build
->create_build_script;