File: Makefile.PL

package info (click to toggle)
libsys-utmp-perl 1.5-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 72 kB
  • ctags: 8
  • sloc: perl: 181; makefile: 42
file content (36 lines) | stat: -rw-r--r-- 520 bytes parent folder | download | duplicates (2)
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
use ExtUtils::MakeMaker;

my (
    $define,
    $libs
   );

if ( $^O =~ /bsd/i )
{
   $define = '-DNOUTFUNCS';
}
else
{
   $define = '';
}

if ( $^O eq 'sco' )
{
  $libs = ['-lc'];
}
else
{
  $libs = [''];
}

WriteMakefile(
    'NAME'		=> 'Sys::Utmp',
    'VERSION_FROM'	=> 'Utmp.pm',
    'PREREQ_PM'		=> {},
    ($] >= 5.005 ?    
      (ABSTRACT_FROM => 'Utmp.pm',
       AUTHOR     => 'Jonathan Stowe <jonathan.stowe@netscalibur.co.uk>') : ()),
    'LIBS'		=> ['-lc'],
    'DEFINE'		=> $define,
    'INC'		=> '' 
);