File: Makefile.PL

package info (click to toggle)
libcrypt-cast5-perl 0.05-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 160 kB
  • sloc: ansic: 622; perl: 70; makefile: 3
file content (16 lines) | stat: -rw-r--r-- 606 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 5.004;
use ExtUtils::MakeMaker;

use Config;
my $gcc_x86 = ($Config{"ccname"} =~ /gcc/) && ($Config{"archname"} =~ /i.86/);

WriteMakefile(
    'NAME'		=> 'Crypt::CAST5',
    'VERSION_FROM'	=> 'CAST5.pm', # finds $VERSION
    'PREREQ_PM'		=> { Test::More => 0.47 },
    ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM => 'CAST5.pm', # retrieve abstract from module
       AUTHOR     => 'Bob Mathews <bobmathews@alumni.calpoly.edu>') : ()),
    'DEFINE'            => ($gcc_x86 ? '-DGCC_X86' : ''),
    'OBJECT'		=> '$(O_FILES)', # link all the C files too
);