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
|
use strict;
use warnings;
use lib qw(privinc);
use My::Builder;
my $builder = My::Builder->new(
module_name => 'DhMakePerl',
license => 'gpl',
requires => {
perl => '5.010',
'AptPkg::Cache' => 0,
'AptPkg::Config' => 0,
'Array::Unique' => 0,
'Carp' => 0,
'CPAN' => 0,
'Cwd' => 0,
'Dpkg' => 0,
'Dpkg::Source::Package' => 0,
'Email::Date::Format' => 0,
'File::Basename' => 0,
'File::Copy' => 0,
'File::Find::Rule' => 0,
'File::Spec' => 0,
'File::Spec::Functions' => 0,
'FindBin' => 0,
'Getopt::Long' => 0,
'IO::File' => 0,
'IO::Uncompress::Gunzip' => 0,
'List::MoreUtils' => 0,
'Module::Build' => 0,
'Module::CoreList' => 0,
'Module::Depends' => 0,
'Module::Depends::Intrusive'=> 0,
'Parse::DebianChangelog' => 0,
'Parse::DebControl' => 0,
'Storable' => 0,
'Text::Diff' => 0,
'Text::Wrap' => 0,
'Tie::File' => 0,
'Tie::IxHash' => 0,
'User::pwent' => 0,
'version' => 0,
'WWW::Mechanize' => 0,
'YAML' => 0,
},
build_requires => {
'Test::Deep' => 0,
'Test::Exception' => 0,
'Test::Differences' => 0,
'Test::More' => 0,
'File::Touch' => 0,
},
no_index => { directory => [qw(privinc t xt share)] },
add_to_cleanup => [ 'DhMakePerl-*', 'Build', '_build' ],
script_files => [ 'dh-make-perl' ],
install_path => {
share => '/usr/share/dh-make-perl',
},
share_files => { map( ( $_ => $_ ), glob 'share/*' ) },
);
$builder->add_build_element('share');
$builder->create_build_script();
|