File: Build.PL

package info (click to toggle)
txt2html 2.44-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 668 kB
  • ctags: 141
  • sloc: perl: 3,556; makefile: 49
file content (27 lines) | stat: -rw-r--r-- 700 bytes parent folder | download
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
use Module::Build;
my $build = Module::Build->new(
    module_name	=> 'HTML::TextToHTML',
    dist_name		=> 'txt2html',
    dist_version_from	=> 'scripts/txt2html',
    requires		=> {
		'perl'	=> '5.6.1',
		'Getopt::Long' => 0,
		'Getopt::ArgvFile' => 0,
		'File::Basename' => 0,
		'Pod::Usage' => 0,
		'Data::Dumper' => 0,
    	},
    build_requires	=> {
		'Test::More' => 0,
		'Module::Build' => 0.26
    	},
    script_files	=> ['scripts/txt2html'],
    dist_author		=> 'Kathryn Andersen',
    license		=> 'perl',
);
$build->create_build_script;

# create the Makefile.PL
use Module::Build::Compat;
print "creating Makefile.PL\n";
Module::Build::Compat->create_makefile_pl('passthrough', $build);