File: Build.PL

package info (click to toggle)
courier-filter-perl 0.200%2Bds-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 412 kB
  • sloc: perl: 1,484; sh: 75; makefile: 9
file content (50 lines) | stat: -rw-r--r-- 1,422 bytes parent folder | download | duplicates (5)
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
#
# Module::Build build script for Courier::Filter
#
# (C) 2005-2008 Julian Mehnle <julian@mehnle.net>
# $Id: Build.PL 211 2008-03-23 01:25:20Z julian $
#
###############################################################################

use Module::Build;

my $build = Module::Build->new(
    module_name     => 'Courier::Filter',
    dist_author     => 'Julian Mehnle <julian@mehnle.net>',
    license         => 'perl',
    requires        => {
        # Core requirements:
        perl                => '5.008',
        Error               => 0
    },
    recommends      => {
        # Filter module requirements:
        Net::RBLClient      => 0,
        Mail::SPF           => 0,
        Net::Address::IP::Local
                            => 0,
        DateTime            => 0,
        DateTime::Format::Mail
                            => 0,
        MIME::Tools         => '5.400',
        IO::InnerFile       => '2.110',
        Archive::Zip        => 0,
        ClamAV::Client      => 0,
        Mail::SpamAssassin  => 0
    },
    build_requires  => {
        # Build requirements:
        Module::Build       => 0
    },
    script_files    => [
        'bin/test-filter-module'
    ],
    install_path    => {
        lib                 => '/usr/share/courier-filter-perl/perl5'
    },
    create_makefile_pl
                    => 'passthrough',
    sign            => 1
);

$build->create_build_script();