File: Makefile.PL

package info (click to toggle)
libjcode-pm-perl 2.07-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,440 kB
  • sloc: perl: 14,814; ansic: 11,032; makefile: 3
file content (32 lines) | stat: -rw-r--r-- 722 bytes parent folder | download | duplicates (3)
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
#!/usr/local/bin/perl
#
# $Id: Makefile.PL,v 2.1 2005/06/20 06:21:06 dankogai Exp $
#
use strict;
use ExtUtils::MakeMaker;

my @EXTRA;
if ($] >= 5.008001){
    @EXTRA = (
	      NORECURS => 1,
	      PM => { 'Jcode.pm' =>  '$(INST_LIB)/Jcode.pm',
		      'Jcode/Nihongo.pod'
			  => '$(INST_LIB)/Jcode/Nihongo.pod'
		      },
	      );
}

WriteMakefile
    (
     NAME         => 'Jcode',
     VERSION_FROM => 'Jcode.pm',
     PREREQ_PM    => {
	 'MIME::Base64'     => "2.1",
     },
     ($] >= 5.005 ?    ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM => 'Jcode.pm', # retrieve abstract from module
       AUTHOR     => 'Dan Kogai <dankogai@dan.co.jp>') : ()
      ),
     @EXTRA,
     );