summaryrefslogtreecommitdiff
path: root/Build.PL
blob: 541393230e81738b9b3c501a615df4196f574acb (plain)
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
 
use strict;
use warnings;
use Module::Build;
 
my $builder = Module::Build->new(
    dist_name           => 'LDFM',
    license             => 'perl',
    dist_name           => 'LD-FM',
    dist_version_from   => 'lib/LDFM/MainController.pm',
    requires            => {
        'perl' => '5.8.3',
        'Gtk2' => '1.1.0',
        'Gtk2::GladeXML::Simple' => 0,
        'Gtk2::Ex::Simple::List' => 0,
        'Readonly' => 0,
    },
    build_requires      => {
        'Test::More' => 0,
    },
    script_files        => [ 'scripts/ldfm' ],
    add_to_cleanup      => [ 'LDFM-*' ],
    create_packlist     => 1,
);
 
$builder->create_build_script();