-
Notifications
You must be signed in to change notification settings - Fork 1
/
Build.PL
65 lines (61 loc) · 2.06 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::SysPath;
use 5.010;
my $builder = Module::Build::SysPath->new(
module_name => 'Debian::Apt::PM',
license => 'perl',
dist_author => 'Jozef Kutej <jkutej@cpan.org>',
dist_version_from => 'lib/Debian/Apt/PM.pm',
configure_requires => {
'Module::Build::SysPath' => 0.13,
},
build_requires => {
'Module::Build::SysPath' => 0.13,
'Test::More' => 0,
'Test::Differences' => 0,
'Test::Exception' => 0,
},
requires => {
'Moose' => 0,
'IO::Uncompress::Bunzip2' => 0,
'IO::Any' => 0,
'Parse::Deb::Control' => 0.03,
'Debian::Dpkg::Version' => 0,
'AptPkg::Config' => 0,
'LWP::Simple' => 0,
'Carp' => 0,
'JSON::Util' => 0.04, # atomic writes
'Getopt::Long' => 0,
'Pod::Usage' => 0,
'List::MoreUtils' => 0,
'File::Find::Rule' => 0,
'File::Basename' => 0,
'Module::Build::ModuleInfo' => 0,
'File::Temp' => 0,
'File::Path' => 2.01, # make_path
'CPAN::Version' => 0,
'Storable' => 0,
'File::HomeDir' => 0,
'File::Copy' => 0,
'CPAN' => 0,
'File::is' => 0,
'CPAN::Patches::Plugin::Debian' => 0,
},
script_files => [
'script/apt-pm',
'script/dpkg-scanpmpackages',
'script/dh-make-pm',
],
add_to_cleanup => [ 'Debian-Apt-PM-*' ],
create_readme => 1,
sign => 1,
meta_merge => {
resources => {
repository => 'git://github.com/jozef/Debian-Apt-PM.git',
bugtracker => 'http://github.com/jozef/Debian-Apt-PM/issues',
},
keywords => [ qw/ debian perl modules / ],
},
);
$builder->create_build_script();