-
Notifications
You must be signed in to change notification settings - Fork 3
/
Build.PL
65 lines (61 loc) · 2.13 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
use strict;
use warnings;
use Module::Build 0.4004;
my @authors =
map { ( my $mail = lc ) =~ tr/a-z/./cs; "$_ <$mail\@apa.at>" } (
'Philipp Gortan',
'Mario Paumann',
'Christian Eder',
'Stefan Hrdlicka',
'Jozef Kutej'
);
my $builder = Module::Build->new(
module_name => 'XML::NewsML_G2',
license => 'gpl2',
dist_author => \@authors,
dist_abstract => 'generate NewsML-G2 news items',
dist_version_from => 'lib/XML/NewsML_G2.pm',
requires => {
'perl' => '5.12.0',
'version' => '0.77',
'Moose' => '0.64',
'Moose::Role' => 0,
'Moose::Util' => '0.64',
'Moose::Util::TypeConstraints' => 0,
'namespace::autoclean' => '0.05',
'XML::LibXML' => 0,
'DateTime' => 0,
'DateTime::Format::XSD' => 0,
'Module::Runtime' => 0,
'UUID::Tiny' => '1.02',
'Scalar::Util' => 0,
'Carp' => 0,
'List::MoreUtils' => 0,
},
configure_requires => {
'Module::Build' => 0.4004 # support for test_requires
},
test_requires => {
'FindBin' => 0,
'File::Copy' => 0,
'File::Spec' => 0,
'File::Spec::Functions' => 0,
'File::Find' => 0,
'File::Temp' => 0,
'Test::More' => 0,
'Test::Exception' => 0,
'Test::Warnings' => 0,
'Test::EOL' => 0,
'Test::File::Contents' => 0,
'Test::MockTime' => 0,
},
add_to_cleanup => [ 'XML-NewsML_G2-*', ],
meta_merge => {
resources => {
repository => 'https://github.com/apa-it/xml-newsml-g2',
bugtracker => 'https://github.com/apa-it/xml-newsml-g2/issues',
x_IRC => 'irc://irc.perl.org/#xml-newsml-g2',
}
},
);
$builder->create_build_script();