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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
# MyConfig for CPAN -- adapted from CPAN.pm test files
use Cwd 3.27;
my $cwd = cwd;
my $dot_cpan = "DOT_CPAN";
my $Iswin = $^O eq "MSWin32";
my $is_disable_test = $ENV{IS_DISABLE_TEST};
$CPAN::Config = {
$Iswin ? () : (
'make_install_make_command' => q[make],
'mbuild_install_build_command' => q[./Build],
),
$is_disable_test ? ( 'prefs_dir' => qq[$cwd/t/data] ) : (),
'auto_commit' => 0,
'build_cache' => q[100],
'build_dir' => qq[$cwd/t/$dot_cpan/build],
#'bzip2' => q[/bin/bzip2],
'cache_metadata' => q[1],
colorize_output=>0,
'cpan_home' => qq[$cwd/t/$dot_cpan],
#'curl' => q[],
#'ftp' => q[],
'ftp_proxy' => q[],
'getcwd' => q[cwd],
#'gpg' => q[/usr/bin/gpg],
#'gzip' => q[/bin/gzip],
'histfile' => qq[$cwd/t/$dot_cpan/histfile],
'histsize' => q[100],
'http_proxy' => q[],
'inactivity_timeout' => q[0],
'index_expire' => q[1],
'inhibit_startup_message' => q[0],
'keep_source_where' => qq[$cwd/t/$dot_cpan/sources],
#'lynx' => q[],
#'make' => q[/usr/bin/make],
'make_arg' => q[],
'make_install_arg' => q[UNINST=1],
'makepl_arg' => q[],
'mbuild_arg' => q[],
'mbuild_install_arg' => q[--uninst 1],
'mbuildpl_arg' => q[],
#'ncftp' => q[],
#'ncftpget' => q[],
'no_proxy' => q[],
#'pager' => q[less],
'prefer_installer' => q[MB],
'prerequisites_policy' => q[follow],
'scan_cache' => q[atstart],
#'shell' => q[/usr/bin/zsh],
'show_upload_date' => q[0],
#'tar' => q[/bin/tar],
'term_is_latin' => q[0],
'term_ornaments' => q[0],
#'unzip' => q[/usr/bin/unzip],
'urllist' => [qq[file://$cwd/t/CPAN]],
'wait_list' => [q[wait://ls6.informatik.uni-dortmund.de:1404]],
#'wget' => q[/usr/bin/wget],
'pushy_https' => 0,
};
__END__
# Local Variables:
# mode: cperl
# cperl-indent-level: 2
# End:
|