Build.PL
changeset 58 f457c233ae49
parent 57 27c0c47097b2
equal deleted inserted replaced
57:27c0c47097b2 58:f457c233ae49
    16     # where to find the sources -> where to put them under blib
    16     # where to find the sources -> where to put them under blib
    17     checks_files => {
    17     checks_files => {
    18         'plugins/check_amanda-client' =>
    18         'plugins/check_amanda-client' =>
    19           'nagios/plugins/ius/check_amanda-client',
    19           'nagios/plugins/ius/check_amanda-client',
    20     },
    20     },
       
    21     etc_files => {
       
    22 	'etc/amanda-client.conf' => 'etc/amanda/README',
       
    23     },
    21     license  => 'perl',
    24     license  => 'perl',
    22     requires => { perl => 5.014, 'Const::Fast' => 0.011 },
    25     requires => { perl => 5.014, 'Const::Fast' => 0.011 },
    23     build_requires => { 'Test::Exception' => 0, },
    26     build_requires => { 'Test::Exception' => 0, },
    24 );
    27 );
    25 
    28 
    33     $builder->install_path('nagios' => $base . '/nagios');
    36     $builder->install_path('nagios' => $base . '/nagios');
    34 }
    37 }
    35 
    38 
    36 $builder->bindoc_dirs([@{ $builder->bindoc_dirs }, 'blib/nagios/plugins/ius']);
    39 $builder->bindoc_dirs([@{ $builder->bindoc_dirs }, 'blib/nagios/plugins/ius']);
    37 $builder->add_build_element('checks');
    40 $builder->add_build_element('checks');
       
    41 $builder->add_build_element('etc');
    38 
    42 
    39 $builder->create_build_script;
    43 $builder->create_build_script;
    40 
    44 
    41 __END__
    45 __END__
    42 
    46