File: Makefile.PL

package info (click to toggle)
libcatalyst-plugin-session-store-dbic-perl 0.14-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 136 kB
  • sloc: perl: 309; makefile: 2
file content (49 lines) | stat: -rw-r--r-- 1,782 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
use strict;
use warnings;
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME          => 'Catalyst::Plugin::Session::Store::DBIC',
    AUTHOR        => 'Daniel Westermann-Clark <danieltwc@cpan.org>',
    VERSION_FROM  => 'lib/Catalyst/Plugin/Session/Store/DBIC.pm',
    ABSTRACT_FROM => 'lib/Catalyst/Plugin/Session/Store/DBIC.pm',
    PREREQ_PM     => {
        'Carp'                                       => 0,
        'Catalyst'                                   => '5.65',  # For setup_finished
        'Catalyst::Exception'                        => 0,
        'Catalyst::Plugin::Session::Store::Delegate' => '0.05',
        'Class::Accessor::Fast'                      => 0,
        'DBIx::Class'                                => '0.07000',  # For find with unique constraints
        'MIME::Base64'                               => 0,
        'MRO::Compat'                                => 0,
        'Scalar::Util'                               => 0,
        'Storable'                                   => 0,
        'FindBin'                                    => 0,
        'Test::More'                                 => 0,
        'Test::Warn'                                 => '0.20', # so we get warnings_exist
    },
    META_MERGE              => {
        resources => {
            repository  =>      'http://dev.catalyst.perl.org/repos/Catalyst/Catalyst-Plugin-Session-Store-DBIC/',
        },
    },
    dist          => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
    clean         => { FILES => 'Catalyst-Plugin-Session-Store-DBIC-* MANIFEST META.yml README' },
);


package MY;

sub postamble {
    return <<"...";
cover::
	cover -delete
	HARNESS_PERL_SWITCHES=-MDevel::Cover \$(MAKE) test
	cover

readme::
	perldoc -o text -d README \$(NAME)
...
}

1;