forked from dland/BSD-Process
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.PL
36 lines (30 loc) · 857 Bytes
/
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
# generate Makefile for building BSD::Process
#
# Copyright (C) 2006-2011 David Landgren
use strict;
use ExtUtils::MakeMaker;
use Config;
my $module_name = 'BSD::Process';
if ($Config{osname} ne 'freebsd') {
die "OS unsupported ($Config{osname}). Here's a nickel, go buy yourself a real OS.\n";
}
eval "use ExtUtils::MakeMaker::Coverage" and print "Adding testcover target\n";
my @license =
do {
my $version = $ExtUtils::MakeMaker::VERSION;
$version =~ tr/_//d;
$version} > 6.30
? qw(LICENSE perl)
: ();
WriteMakefile(
NAME => $module_name,
ABSTRACT_FROM => 'Process.pm',
VERSION_FROM => 'Process.pm',
AUTHOR => 'David Landgren',
LIBS => ['-lkvm'],
@license,
PREREQ_PM => {
'XSLoader' => 0,
'Class::Accessor' => '0.25',
},
);