File: Makefile.PL

package info (click to toggle)
libcache-memcached-managed-perl 0.26-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 264 kB
  • sloc: perl: 617; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 843 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

use strict;

BEGIN {
    if ( open MEMCACHED, "memcached -i |" ) {
        chomp( my $header = <MEMCACHED> );
        print "Using $header for tests!\n";
    }

    else {
        print "No executable memcached found: $!\n";
        print "Many tests will fail, install can only be forced!\n";
    }
}

use ExtUtils::MakeMaker;
eval "use Devel::Required";
eval "use Devel::Required pod => [ qw(
  lib/Cache/Managed.pm
  lib/Cache/Managed/Inactive.pm
  lib/Cache/Managed/Multi.pm
) ]";

WriteMakefile (
 NAME          => "Cache::Memcached::Managed",
 AUTHOR        => 'Elizabeth Mattijsen (liz@dijkmat.nl)',
 ABSTRACT      => 'provide API for managing cached information',
 VERSION_FROM  => 'lib/Cache/Memcached/Managed.pm',
 LICENSE       => 'gpl',

 PREREQ_PM     => { qw(
                    Cache::Memcached    0
                  ) },
);