-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.PL
More file actions
39 lines (36 loc) · 902 Bytes
/
Makefile.PL
File metadata and controls
39 lines (36 loc) · 902 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 ExtUtils::MakeMaker;
my (
$define,
$libs
);
# This may require some refinement
if ( $^O =~ /netbsd/i ) {
$defined = "";
}
elsif ( $^O =~ /bsd/i ) {
$define = '-DNOUTFUNCS';
}
else {
$define = '';
}
WriteMakefile(
NAME => 'Sys::Utmp',
VERSION_FROM => 'lib/Sys/Utmp.pm',
PREREQ_PM => {'Test::More' => 0 },
LICENSE => 'perl',
META_MERGE => {
'meta-spec' => { version => 2 },
resources => {
repository => {
type => 'git',
url => 'https://github.com/jonathanstowe/Sys-Utmp.git',
web => 'https://github.com/jonathanstowe/Sys-Utmp',
},
},
},
ABSTRACT_FROM => 'lib/Sys/Utmp.pm',
AUTHOR => 'Jonathan Stowe <jns@gellyfish.co.uk>',
LIBS => ['-lc'],
DEFINE => $define,
INC => ''
);