File: Build.PL

package info (click to toggle)
libfindbin-libs-perl 1.64-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 180 kB
  • sloc: perl: 389; makefile: 2
file content (73 lines) | stat: -rw-r--r-- 1,366 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
########################################################################
# housekeeping
########################################################################

use strict;
use Module::Build;

########################################################################
# figure out which versin of libs.pm to install based on the 
# current running version.
########################################################################

my $path 
= do
{
    my $type
    = ref $^V
    ? 'curr'
    : '5_8'
    ;

    "lib/FindBin/libs_$type.pm"
};

my @build_argz  =
(
    qw
    (
        module_name     FindBin::libs
        license         perl
        dist_version    1.64
    ),

    pm_files =>
    {
         $path  => 'lib/FindBin/libs.pm' 
    },

    dist_author => 'Steven Lembark <lembark@wrkhors.com',

    requires =>
    {
        qw
        (
            strict          0

            Carp            0
            Cwd             0
            FindBin         0
            Symbol          0
            File::Spec      0
            Test::More      0

        )
    },

    configure_requires =>
    {
        'Module::Build' => $Module::Build::VERSION,
    },

    dist_abstract   => <<END
FindBin::libs - locate and a 'use lib' or export 
directories based on $FindBin::Bin.
END

);

Module::Build
->new( @build_argz )
->create_build_script;

__END__