File: Makefile.PL

package info (click to toggle)
libtemplate-plugin-gd-perl 2.66-2
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, lenny, sid, squeeze, stretch, wheezy
  • size: 152 kB
  • ctags: 62
  • sloc: perl: 333; makefile: 45
file content (28 lines) | stat: -rw-r--r-- 684 bytes parent folder | download
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
#!/usr/bin/perl -w                                         # -*- perl -*-

use strict;

use ExtUtils::MakeMaker;
    
my %opts = (
    'NAME'         => 'Template::GD',
    'VERSION_FROM' => 'lib/Template/Plugin/GD.pm',
    'PMLIBDIRS'    => [ 'lib' ], 
    'PREREQ_PM'    => { 
        'Template' => 2.14,
        'GD'       => 1.14,
    },
    dist         => {
        PREOP => 'pod2text lib/Template/Plugin/GD.pm > README',
        COMPRESS => 'gzip',
        SUFFIX   => 'gz',
    },
);

if ($ExtUtils::MakeMaker::VERSION >= 5.43) {
    $opts{ AUTHOR   } = 'Andy Wardley <abw@cpan.org>';
    $opts{ ABSTRACT } = 'GD plugins for the Template Toolkit',
}

WriteMakefile( %opts );