File: Makefile.PL

package info (click to toggle)
libtext-unidecode-perl 1.22-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,228 kB
  • ctags: 6
  • sloc: perl: 3,800; makefile: 2
file content (56 lines) | stat: -rw-r--r-- 1,872 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# This -*-perl-*- script writes the Makefile for installing this distribution.
# ( Last Modified Time-stamp: "2014-07-22 16:46:15 MDT sburke@cpan.org" )
#======================================================================
#
# For info on instaling this module and how to control it, see:
#   perldoc cpan
#   perldoc cpanp
#   perldoc perlmodinstall
#   perldoc ExtUtils::MakeMaker
#
#
#======================================================================

require                   5.008_000;  #   # <==========!!!!!!!!!!
my $min_perl_version =    5.008_000;  #   # <==========!!!!!!!!!!

# For the module author: see lib/ExtUtils/MakeMaker.pm for details
#   of how to influence the contents of the Makefile that is written.
# Incidentally. Perldoc perlfunc says "use " is compile-time, but
#   "require 5.6" is runtime.

use ExtUtils::MakeMaker;
#if( $ExtUtils::MakeMaker::VERSION < 6.47 ) {
#  die "I need at least perl version $min_perl_version";
#}

WriteMakefile(
  'NAME'         => 'Text::Unidecode',
  'ABSTRACT'     => 'Provide plain ASCII transliterations of Unicode text',

  'VERSION_FROM' => 'lib/Text/Unidecode.pm', # finds $VERSION

  'AUTHOR'       => 'Sean Burke <sburke@cpan.org>',
  'LICENSE'      => 'perl',
                   #  "...under the same terms as Perl itself"

  ($ExtUtils::MakeMaker::VERSION >= 6.47
    ? ('MIN_PERL_VERSION' => $min_perl_version )

    : () # Otherwise we can't express that metadata about this
         #  whole module suite, and we just have to let the version
         #  "require" thing up there block this whole Makefile.PL
         #  from running.
  ),

  'dist'  => {
     'COMPRESS' => 'gzip -4f',
       # from 4 to 6 is where there's a sudden doubling
       #  of processing time,  So 4 is cool.
     'SUFFIX'   => 'gz',
     'TARFLAGS' => 'cfh', # h=follow symlinks when making dist
  },

);

__END__