File: Makefile.PL

package info (click to toggle)
libjson-parse-perl 0.62-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 572 kB
  • sloc: ansic: 3,614; perl: 475; makefile: 12
file content (58 lines) | stat: -rw-r--r-- 1,280 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
57
58
use strict;
use warnings;
use ExtUtils::MakeMaker;

my $pm = 'lib/JSON/Parse.pm';
my $pod = 'lib/JSON/Parse.pod';
my $github = 'github.com/benkasminbullock/JSON-Parse';
my $repo = "https://$github";

WriteMakefile (
    NAME => 'JSON::Parse',
    VERSION_FROM => $pm,
    ABSTRACT_FROM => $pod,
    AUTHOR => 'Ben Bullock <bkb@cpan.org>',
    LICENSE => 'perl',
    PREREQ_PM => {
	'Carp' => '0',
    },
    META_MERGE => {
	'meta-spec' => {
	    version => 2,
	},
        resources => {
            repository => {
		type => 'git',
		url => "git://$github.git",
		web => $repo,
	    },
            bugtracker => {
		web => "$repo/issues",
	    },
        },
	no_index => {
	    file => [
		'build/JPB.pm',
		't/JPT.pm',
		'xt/JPXT.pm',
	    ],
	},
    },
    # All the C files are actually #included into Parse.xs so there is
    # only one object file.
    OBJECT => 'Parse.o',
    # Currently the oldest version to pass at CPAN testers.
    # http://matrix.cpantesters.org/?dist=JSON-Parse+0.24
    MIN_PERL_VERSION => '5.008009',
    EXE_FILES => [
	'script/validjson',
    ],

# Uncomment the following to get "author tests"
#    OPTIMIZE => '-Wall -g',
#    OPTIMIZE => '-Wall -O',
# This achieves only small speedups with GCC.
#    OPTIMIZE => '-O3',

#    CC => 'gcc',
);