aboutsummaryrefslogtreecommitdiff
path: root/Makefile.PL
blob: 8ad492a0348665150b2c9c8dcfc584cc579e9bd4 (plain)
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
65
66
67
68
# -*- perl -*-
use strict;
use Module::Metadata;
use Getopt::Long qw(:config gnu_getopt no_ignore_case pass_through);
use ExtUtils::MakeMaker;

my %makefile_args = (
    NAME      =>      'App::Acmeman',
    ABSTRACT  =>      'manages ACME certificates',
    VERSION_FROM =>   'lib/App/Acmeman.pm',
    AUTHOR    =>      'Sergey Poznyakoff <gray@gnu.org>',
    LICENSE   =>      'gpl_3',
    EXE_FILES =>      [ 'acmeman' ],
    PREREQ_PM => {
	'Getopt::Long' => 2.34,
	'File::Path'   => 2.08,
	'File::Basename' => 2.84,
	'Test::NoWarnings' => 0,
	'Crypt::RSA::Parse' => 0.043,
	'Net::ACME2' => 0.33,
	'Crypt::Format' => 0.06,
	'Crypt::OpenSSL::PKCS10' => 0.16,
	'Crypt::OpenSSL::RSA' => 0.28,
	'Crypt::OpenSSL::X509' => 1.804,
	'DateTime::Format::Strptime' => 1.42,
	'LWP::UserAgent' => 6.05,
	'LWP::Protocol::https' => 6.04,
	'Pod::Usage' => 1.51,
	'Pod::Man' => 2.25,
	'Text::ParseWords' => 3.27,
	'Data::Dumper' => 0,
	'Socket' => 0,
        'Sys::Hostname' => 1.16,
	'Apache::Defaults' => 1.02,
	'Apache::Config::Preproc' => 1.04,
	'Config::Parser' => 1.03,
        'File::BackupCopy' => 1.00
    },
    MIN_PERL_VERSION => 5.016001,
    META_MERGE => {
	'meta-spec' => { version => 2 },
	resources => {
	    repository => {
		type => 'git',
		url => 'git://git.gnu.org.ua/acmeman.git',
		web => 'http://git.gnu.org.ua/cgit/acmeman.git/',
	    },
	    bugtracker => {
		web => 'https://puszcza.gnu.org.ua/bugs/?group=acmeman',
		mailto => 'gray+acmeman@gnu.org.ua'
	    }
	},
	provides => Module::Metadata->provides(version => '1.4',
					       dir => 'lib')
    }
);

my $no_autoinstall;
GetOptions('no-autoinstall|N' => \$no_autoinstall) or exit(1);
unless ($no_autoinstall) {
    eval {
	require ExtUtils::AutoInstall;
	ExtUtils::AutoInstall->import(-core => $makefile_args{PREREQ_PM});
	delete $makefile_args{PREREQ_PM};
    };
} 

WriteMakefile(%makefile_args);

Return to:

Send suggestions and report system problems to the System administrator.