]> ruderich.org/simon Gitweb - blhc/blhc.git/blob - Build.PL
Fix false positive in `dwz` lines
[blhc/blhc.git] / Build.PL
1 #!/usr/bin/perl
2
3 # Copyright (C) 2012-2019  Simon Ruderich
4 #
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9 #
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU General Public License for more details.
14 #
15 # You should have received a copy of the GNU General Public License
16 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
18
19 use strict;
20 use warnings;
21
22 use Module::Build;
23
24
25 my $build = Module::Build->new(
26     module_name        => 'blhc',
27     dist_author        => 'Simon Ruderich <simon@ruderich.org>',
28     dist_version_from  => 'bin/blhc',
29     license            => 'gpl', # gpl_3 is spec 2, not used by Module::Build
30     requires           => {
31                             # Debian specific (for now).
32                             'Dpkg::Arch' => 0,
33                             'Dpkg::Version' => 0,
34                             # Bundled with perl.
35                             'Getopt::Long' => 0,
36                             'Pod::Usage' => 0,
37                             'Term::ANSIColor' => '2.01',
38                             'Text::ParseWords' => 0,
39                           },
40     configure_requires => {
41                             'Module::Build' => 0,
42                           },
43 );
44 $build->create_build_script;