File: Build.PL

package info (click to toggle)
courier-filter-perl 0.16
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, sarge
  • size: 256 kB
  • ctags: 144
  • sloc: perl: 1,248; makefile: 45
file content (43 lines) | stat: -rw-r--r-- 1,228 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
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.8',
        Encode              => 0,
        IO::Handle          => 0,
        IO::File            => 0,
        IO::Socket::UNIX    => 0,
        IO::Select          => 0,
        Error               => 0
    },
    recommends      => {
        # Filter module requirements:
        Net::RBLClient      => 0,
        Mail::SPF::Query    => '1.991',
        MIME::Tools         => '5.4',
        Digest::MD5         => 0,
        ClamAV::Client      => 0,
        File::Spec          => 0,
        Net::DNS            => 0,
        Net::Address::IPv4::Local
                            => 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();

# $Id: Build.PL,v 1.7 2005/01/17 19:33:59 julian Exp $
# vim:tw=79