| 1 | #!/usr/bin/perl |
| 2 | |
| 3 | # Copyright (C) 2012 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 strictscip-perl cpan blhc 0.15 strict/; |
| 20 | use warningsscip-perl cpan blhc 0.15 warnings/; |
| 21 | |
| 22 | use Module::Buildscip-perl cpan blhc 0.15 Module/Build/; |
| 23 | |
| 24 | |
| 25 | my $build = Module::Build->newscip-perl cpan blhc 0.15 Module/Build/new().( |
| 26 | module_name => 'blhc', |
| 27 | dist_author => 'Simon Ruderich <[email protected]>', |
| 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_scriptscip-perl cpan blhc 0.15 Module/Build/create_build_script().; |