File: Build.PL

package info (click to toggle)
libconfig-model-cursesui-perl 1.107-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 148 kB
  • sloc: perl: 1,673; makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,534 bytes parent folder | download | duplicates (2)
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
#    Copyright (c) 2007-2009,2011 Dominique Dumont.
#
#    This file is part of Config-Model-Curses-UI.
#
#    Config-Model-Curses-UI is free software; you can redistribute it
#    and/or modify it under the terms of the GNU Lesser General Public License
#    as published by the Free Software Foundation; either version 2.1
#    of the License, or (at your option) any later version.
#
#    Config-Model is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#    Lesser General Public License for more details.
#
#    You should have received a copy of the GNU Lesser General Public License
#    along with Config-Model; if not, write to the Free Software
#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
#    02110-1301 USA

use Module::Build;

require 5.008 ;

my $build = Module::Build->new (
    module_name => 'Config::Model::CursesUI',
    license => 'lgpl2',
    dist_abstract => "Curses interface to edit config data through Config::Model",
    dist_author  => "Dominique Dumont (ddumont at cpan dot org)",
    requires => {
		'Config::Model'    => '2.095',
		'Curses::UI'       => '0.9606',
    },
    configure_requires => { 'Module::Build' => 0.42 },
    build_requires => {
		'Config::Model::Tester'    => '3.006',
        'Log::Log4perl'    => 0 ,
    },
    add_to_cleanup => [qw/stderr.log wr_data/] ,
);

$build->add_build_element('pl');
$build->create_build_script;