Build.PL
changeset 16 647c46fe92cf
parent 15 a1b5a2326a66
child 21 2247be0e2a13
equal deleted inserted replaced
15:a1b5a2326a66 16:647c46fe92cf
    11     dist_abstract => 'nagios check for amanda clients',
    11     dist_abstract => 'nagios check for amanda clients',
    12     # new type 'plugins'
    12     # new type 'plugins'
    13     #
    13     #
    14 
    14 
    15     # where to find the sources -> where to put them under blib
    15     # where to find the sources -> where to put them under blib
    16     plugins_files => {
    16     checks_files => {
    17 	'plugins/check_amanda-client' => 'nagios/plugins/ius/check_amanda-client',
    17 	'plugins/check_amanda-client' => 'nagios/plugins/ius/check_amanda-client',
    18     },
    18     },
    19     license => 'perl',
    19     license => 'perl',
    20     requires => {
    20     requires => {
    21 	perl => 5.010,
    21 	perl => 5.010,
    30 	else { '/usr/local/lib' }
    30 	else { '/usr/local/lib' }
    31     };
    31     };
    32     $builder->install_path('nagios' => $base . '/nagios');
    32     $builder->install_path('nagios' => $base . '/nagios');
    33 }
    33 }
    34 
    34 
    35 $builder->add_build_element('plugins');
    35 $builder->bindoc_dirs([@{$builder->bindoc_dirs}, 'blib/nagios/plugins/ius']);
       
    36 $builder->add_build_element('checks');
       
    37 
    36 $builder->create_build_script;
    38 $builder->create_build_script;
    37 
    39 
    38 __END__
    40 __END__
    39 
    41