aboutsummaryrefslogtreecommitdiff
path: root/Makefile.PL
blob: 7236382147d838e7c2bd7f20dae6f6160c47c3ff (plain) (blame)
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
#
# Copyright (C) 2020--2021 Tom Ryder <tom@sanctum.geek.nz>
#
# This file is part of nagios-check-ftp.
#
# nagios-check-ftp is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# nagios-check-ftp is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# nagios-check-ftp.  If not, see <https://www.gnu.org/licenses/>.
#
use 5.006;
use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME               => 'check_ftp',
    AUTHOR             => 'Tom Ryder <tom@sanctum.geek.nz>',
    VERSION_FROM       => 'libexec/check_ftp',
    LICENSE            => 'gpl_3',  # or later
    INSTALLSCRIPT      => '/usr/local/nagios/libexec',
    INSTALLSITESCRIPT  => '/usr/local/nagios/libexec',
    EXE_FILES          => ['libexec/check_ftp'],
    MIN_PERL_VERSION   => '5.010_001',
    CONFIGURE_REQUIRES => {
        'ExtUtils::MakeMaker' => '0',
    },
    PREREQ_PM => {
        'English'            => 0,
        'Exception::Class'   => 0,
        'Monitoring::Plugin' => 0,
        'Path::Tiny'         => 0,
        'Quota'              => 0,
        'Try::Tiny'          => 0,
    },
    META_MERGE => {
        'meta-spec' => { version => 2 },
        resources   => {
            homepage   => 'https://sanctum.geek.nz/cgit/check_ftp.git/',
            repository => {
                type => 'git',
                url  => 'https://sanctum.geek.nz/code/check_ftp.git/',
                web  => 'https://sanctum.geek.nz/cgit/check_ftp.git/',
            },
        },
    },
    clean => { FILES => 'check_ftp-*' },
);