-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathMakefile.PL
More file actions
39 lines (35 loc) · 826 Bytes
/
Makefile.PL
File metadata and controls
39 lines (35 loc) · 826 Bytes
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
use strict;
use warnings;
use 5.010;
use ExtUtils::MakeMaker;
my $need_bigint = 1 << 32 == 1;
WriteMakefile(
NAME => 'SMB',
DISTNAME => 'SMB',
dist => {
COMPRESS => 'gzip -9f', SUFFIX => 'gz',
# default CP 'ln' is buggy, it changes source file permissions
DIST_CP => 'cp',
},
EXE_FILES => [ glob("bin/smb-*") ],
VERSION_FROM => 'lib/SMB.pm',
ABSTRACT_FROM => 'lib/SMB.pm',
AUTHOR => 'Mikhael Goikhman <migo@cpan.org>',
LICENSE => 'gpl_3',
MIN_PERL_VERSION => 5.010, # mainly to use '//'
PREREQ_PM => {
# usually distributed with perl
'parent' => 0,
'Exporter' => 0,
'Fcntl' => 0,
'File::Basename' => 0,
'File::Glob' => 0,
'IO::Select' => 0,
'IO::Socket' => 0,
'POSIX' => 0,
'Sys::Hostname' => 0,
($need_bigint ? ('bigint' => 0) : ()),
# less standard
'Time::HiRes' => 0,
},
);