File: Build.PL

package info (click to toggle)
blhc 0.04%2B20140813%2Bgitac2b8ce-1~bpo70%2B1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy-backports
  • size: 448 kB
  • sloc: perl: 906; makefile: 11
file content (44 lines) | stat: -rw-r--r-- 1,597 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
43
44
#!/usr/bin/perl

# Copyright (C) 2012-2013  Simon Ruderich
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program 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 General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.


use strict;
use warnings;

use Module::Build;


my $build = Module::Build->new(
    module_name        => 'blhc',
    dist_author        => 'Simon Ruderich <simon@ruderich.org>',
    dist_version_from  => 'bin/blhc',
    license            => 'gpl', # gpl_3 is spec 2, not used by Module::Build
    requires           => {
                            # Debian specific (for now).
                            'Dpkg::Arch' => 0,
                            'Dpkg::Version' => 0,
                            # Bundled with perl.
                            'Getopt::Long' => 0,
                            'Pod::Usage' => 0,
                            'Term::ANSIColor' => '2.01',
                            'Text::ParseWords' => 0,
                          },
    configure_requires => {
                            'Module::Build' => 0,
                          },
);
$build->create_build_script;