File: Makefile.PL

package info (click to toggle)
libthread-conveyor-perl 0.19-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 164 kB
  • ctags: 5
  • sloc: perl: 25; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 747 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
29
30
31
32
33
34
require 5.008;

# do we have threads?
my $module;
BEGIN {
    $module = "Thread::Conveyor",

    require Config;
    Config->import;

    if ( !$Config{useithreads} ) {
        print "$module requires a version of perl that has threads enabled.\n";
        exit 0;
    }
}

# set up stuff
use ExtUtils::MakeMaker;

# set version and dependency info
eval "use Devel::Required";

# set up
WriteMakefile (
 NAME           => $module,
 AUTHOR		=> 'Elizabeth Mattijsen (liz@dijkmat.nl)',
 ABSTRACT	=> 'transport of any data-structure',
 VERSION_FROM	=> 'lib/Thread/Conveyor.pm',
 PREREQ_PM	=> { qw(
                    load               0
                    Thread::Serialize  0
                    Thread::Tie        0.09
                   ) },
);