/usr/local/CPAN/Module-Build-Debian/Build.PL
# $Id: Build.PL 6 2007-09-13 10:22:19Z asksol $
# $Source: /opt/CVS/Getopt-LL/Build.PL,v $
# $Author: asksol $
# $HeadURL: https://class-dot.googlecode.com/svn/class-dot/Build.PL $
# $Revision: 6 $
# $Date: 2007-09-13 12:22:19 +0200 (Thu, 13 Sep 2007) $
use strict;
use warnings;
sub BEGIN {
use File::Spec;
use FindBin qw($Bin);
my $inc = File::Spec->catdir($Bin, 'inc');
unshift @INC, $inc;
}
use Module::Build::Debian::Self;
# ##########################################################
sub YES { 1 };
sub NO { 0 };
my $builder = Module::Build::Debian::Self->new(
module_name => 'Module::Build::Debian',
dist_version => '1.0.0',
license => 'perl',
dist_author => 'Ask Solem <ASKSH@cpan.org>',
all_from => 'lib/Module/Build/Debian.pm',
dynamic_config => NO,
sign => NO, # asksh: have to find out why my signature fails.
create_makefile_pl => 'traditional',
create_readme => YES,
recursive_test_files => YES,
requires => {
'version' => 0,
},
recommends => {
},
build_requires => {
'Test::Simple' => 0.42, #
},
add_to_cleanup => [ qw(
a.out
test.pl
test.c
test.cpp
test.m
*.swp
.gdb_history
install.cache
t/cache
cache/
) ],
meta_merge => {
distribution_type => 'Module',
},
);
$builder->create_build_script( );
# Local Variables:
# mode: cperl
# cperl-indent-level: 4
# fill-column: 78
# End:
# vim: expandtab tabstop=4 shiftwidth=4 shiftround