blob: 8e9d1685157cc74d3a59146bece6d4d9cbcae4b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
use Module::Build;
my $build = Module::Build->new
(
dist_name => 'mytest',
dist_version => '1.0.0',
# module_name => 'Foo',
requires => {
'Data::Dumper' => 0,
'IO::Socket' => 0,
'Games::Cards' => 0,
},
installation_path => { "/home/pepper/new/" },
config => { cc => 'gcc', ld => 'gcc' },
);
$build->install_path(conf => $installation_path);
#$build->dispatch('build');
#$build->dispatch('test', verbose => 1);
$build->dispatch('installdeps');
$build->create_build_script;
|