[BACK]Return to Build.PL CVS log [TXT][DIR] Up to [local] / palm / Palm-Keyring

File: [local] / palm / Palm-Keyring / Build.PL (download)

Revision 1.5, Mon Jan 29 02:49:18 2007 UTC (17 years, 3 months ago) by andrew
Branch: MAIN
Changes since 1.4: +2 -1 lines

Auto generate the Makefile.PL

#!/usr/bin/perl
# $RedRiver: Build.PL,v 1.4 2007/01/28 22:24:17 andrew Exp $
########################################################################
# Build.PL *** the Build.pl for Palm::Keyring
# 
# 2007.01.28 #*#*# andrew fresh <andrew@mad-techies.org>
########################################################################
use strict;
use warnings;

use Module::Build;
my $build = Module::Build->new
(
	module_name => 'Palm::Keyring',
	license  => 'perl',
	requires => {
		'perl'             => '5.6.1',
		'Palm::Raw'		   => '0',
		'Palm::StdAppInfo' => '0',
		'Digest::MD5'      => '0',
		'Crypt::DES'       => '0',
		'Readonly'         => '0',
	},
	create_makefile_pl => 'traditional',
	create_readme => 1,
	create_html   => 1,
	auto_features => {
		YAML_support =>
		{
			description => "Use YAML.pm to write META.yml files",
			requires => { YAML => ' >= 0.35, != 0.49_01 ' },
		},
		manpage_support =>
		{
			description => "Create Unix man pages",
			requires => { 'Pod::Man' => 0 },
		},
		HTML_support =>
		{
			description => "Create HTML documentation",
			requires => { 'Pod::Html' => 0 },
		},
	},
);
$build->create_build_script;