-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.PL
42 lines (40 loc) · 1.49 KB
/
Makefile.PL
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
use strict;
use warnings;
use ExtUtils::MakeMaker;
# Normalize version strings like 6.30_02 to 6.3002,
# so that we can do numerical comparisons on it.
my $eumm_version = $ExtUtils::MakeMaker::VERSION;
$eumm_version =~ s/_//;
WriteMakefile(
NAME => 'Brass',
AUTHOR => q{Ctrl O <[email protected]>},
VERSION_FROM => 'lib/Brass.pm',
ABSTRACT => 'Ctrl-O Management System',
($eumm_version >= 6.3001
? ('LICENSE'=> 'agpl_3')
: ()),
# Install configdb.pl so that external scripts can use it.
EXE_FILES => [ 'bin/configdb.pl' ],
PL_FILES => {},
PREREQ_PM => {
'Config::IniFiles' => 0,
'CtrlO::Crypt::XkcdPassword' => 0,
'Crypt::CBC' => 0,
'Crypt::JWT' => 0,
'DateTime' => 0,
'File::HomeDir' => 0,
'Getopt::Long' => 0,
'JSON' => 0,
'Log::Report' => 0,
'LWP::Protocol::https' => 0,
'LWP::UserAgent' => 0,
'Term::ReadKey' => 0,
'Test::More' => 0,
'Text::Markdown' => 0,
'URI' => 0,
'URI::QueryParam' => 0,
'Data::Password::Check' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Brass-*' },
);