/
Makefile.PL
48 lines (39 loc) · 1.5 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
#!/usr/bin/perl
# $Id$
use ExtUtils::MakeMaker;
# Add a new target.
sub MY::test {
package MY;
"\ntest ::\n\t\$(FULLPERL) ./lib/deptest.perl\n" . shift->SUPER::test(@_);
}
# See lib/ExtUtils/MakeMaker.pm for details of how to influence the
# contents of the Makefile that is written.
WriteMakefile
( NAME => 'POE',
( ($^O eq 'MacOS')
? ()
: ( AUTHOR => 'Rocco Caputo <troc+poe@netrus.net>',
ABSTRACT => 'Event driven threads and I/O abstractions.',
)
),
VERSION_FROM => 'POE.pm',
dist => { 'COMPRESS' => 'gzip -9f',
'SUFFIX' => 'gz',
},
PREREQ_PM => { Carp => 0,
Exporter => 0,
IO => 0,
POSIX => 0,
Socket => 0,
Filter::Util::Call => 1.04,
},
# Remove 'lib', which should have been named 'privlib'. The 'lib'
# directory in this distribution is for private stuff needed to
# build and test POE. Those things should not be installed! At
# some point SourceForge will open up shell access to my CVS tree
# there, and I will be able to rename the directories within the
# repository without losing revision histories. When that
# happens, I'll rename the 'lib' driectory to 'privlib'.
PMLIBDIRS => [ 'POE' ],
);
exit 0 unless $^O eq 'MacOS';