-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.PL
90 lines (85 loc) · 2.76 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
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
require 5.008;
use strict;
use warnings FATAL => 'all';
use ExtUtils::MakeMaker;
use File::ShareDir::Install;
delete_share '.';
install_share 'share';
my %prereqHash = (
'Archive::Extract' => '0',
'Archive::Tar' => '0',
'Archive::Zip' => '0',
'Compress::Zlib' => '0',
'Encode' => '0',
'Fcntl' => '0',
'File::Basename' => '0',
'File::Copy' => '0',
'File::Copy::Recursive' => '0',
'File::Fetch' => '0',
'File::Find' => '0',
'File::HomeDir' => '0',
'File::Path' => '0',
'File::ShareDir' => '0',
'File::ShareDir::Install'
=> '0',
'Glib' => '0',
'GooCanvas2' => '0',
'Gtk3' => '0',
'HTTP::Tiny' => '0',
'IO::Socket::INET' => '0',
# 'IO::Socket::INET6' => '0',
# 'IO::Socket::SSL' => '0',
'IPC::Run' => '0',
'JSON' => '0',
'Math::Round' => '0',
'Math::Trig' => '0',
'Module::Load' => '0',
'Net::OpenSSH' => '0',
'POSIX' => '0',
'Regexp::IPv6' => '0',
'Safe' => '0',
'Scalar::Util' => '0',
'Socket' => '0',
'Symbol' => '0',
'Storable' => '0',
'Time::HiRes' => '0',
'Time::Piece' => '0',
);
WriteMakefile(
NAME => 'Games::Axmud',
AUTHOR => 'A S Lewis <[email protected]>',
VERSION_FROM => 'scripts/axmud.pl',
LICENSE => 'gpl_3',
MIN_PERL_VERSION => 5.008,
CONFIGURE_REQUIRES => {
"ExtUtils::MakeMaker"
=> '6.52',
"File::ShareDir::Install"
=> 0,
"Path::Tiny"
=> 0,
},
PREREQ_PM => { %prereqHash },
INSTALLDIRS => 'site',
EXE_FILES => [
'scripts/axmud.pl',
'scripts/baxmud.pl',
],
META_MERGE => {
'meta-spec' => { version => 2 },
no_index => {
directory => [ 'share/plugins' ],
},
resources => {
repository => {
type => 'git',
url => 'https://github.com/axcore/axmud.git',
web => 'https://github.com/axcore/axmud',
},
bugtracker => {web => 'https://github.com/axcore/axmud/issues'},
homepage => 'https://axmud.sourceforge.io/',
},
},
);
package MY;
use File::ShareDir::Install 'postamble';