File: Makefile.PL

package info (click to toggle)
libtemplate-plugin-json-escape-perl 0.2-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 76 kB
  • sloc: perl: 63; makefile: 2
file content (25 lines) | stat: -rw-r--r-- 515 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
#!/usr/bin/perl

use strict;
use warnings;

use ExtUtils::MakeMaker;

WriteMakefile(
    'NAME'         => 'Template::Plugin::JSON::Escape',
	'VERSION_FROM' => 'lib/Template/Plugin/JSON/Escape.pm',
	'PREREQ_PM' => {
		'Template'   => '2.20',
		'Test::More' => '0',
		'JSON'       => '2.12',
	},
    'INSTALLDIRS' => 'site',
    'EXE_FILES'   => [],
    'PL_FILES'    => {}
);

unless ( eval { require JSON::XS } ) {
warn <<WARN
JSON::XS is reccomended, you should probably install it for better performance.
WARN
}