-
Notifications
You must be signed in to change notification settings - Fork 0
/
Build.PL
35 lines (32 loc) · 1.3 KB
/
Build.PL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
use 5.008003;
use strict;
use warnings;
use lib qw(inc);
use Statgrab::Builder;
my $builder = Statgrab::Builder->new(
module_name => 'Unix::Statgrab',
license => 'perl',
dist_author => [
'Tassilo von Parseval <tassilo.von.parseval@rwth-aachen.de>',
'Jens Rehsack <sno@NetBSD.org>'
],
needs_compiler => 1,
configure_requires => {
'File::Copy' => '0',
'Module::Build' => '0.4000',
'Config::AutoConf' => '0.19',
'parant' => 0,
},
build_requires => {
'Config::AutoConf' => '0.19',
'Capture::Tiny' => '0.06',
'ExtUtils::CBuilder' => '0.27',
'Module::Build' => '0.4000',
},
meta_merge => { resources => { repository => "https://github.com/rehsack/Unix-Statgrab", }, },
add_to_cleanup => [ 'Unix-Statgrab-*', '*.o', 'config.h', 'config.log', ],
test_files => [ "t/*.t", "xt/*.t" ],
);
eval { $builder->dispatch("configure"); };
$@ and warn $@ and exit 0;
$builder->create_build_script();