--- a/Build.PL Fri Jun 30 12:27:35 2017 +0200
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-#! perl
-
-use 5.010;
-use strict;
-use warnings;
-use Module::Build;
-
-my $builder = Module::Build->new(
- dist_name => 'nagios-plugin-amanda-client',
- dist_version_from => 'plugins/check_amanda-client',
- dist_abstract => 'nagios check for amanda clients',
-
- # new type 'plugins'
- #
-
- # where to find the sources -> where to put them under blib
- checks_files => {
- 'plugins/check_amanda-client' =>
- 'nagios/plugins/ius/check_amanda-client',
- },
- etc_files => {
- 'etc/amanda-client.conf' => 'etc/amanda/README',
- },
- license => 'perl',
- requires => { perl => 5.014, 'Const::Fast' => 0.011 },
- build_requires => { 'Test::Exception' => 0, },
-);
-
-# some magic to install it to the proper location}
-if (not defined $builder->install_path('nagios')) {
- my $base = do {
- if ($builder->installdirs eq 'vendor') { '/usr/lib' }
- elsif (defined $builder->install_base) { $builder->install_base }
- else { '/usr/local/lib' }
- };
- $builder->install_path('nagios' => $base . '/nagios');
-}
-
-$builder->bindoc_dirs([@{ $builder->bindoc_dirs }, 'blib/nagios/plugins/ius']);
-$builder->add_build_element('checks');
-$builder->add_build_element('etc');
-
-$builder->create_build_script;
-
-__END__
-