| 1 | # This CPAN/Config.pm file has hand-crafted for Vanilla Perl style | ||
| 2 | # distributions as a good generic product-agnostic default. | ||
| 3 | # However, the first time you run the CPAN "firsttime" or "o conf init" | ||
| 4 | # type process, it will overwrite this file and everything will revert | ||
| 5 | # to flattened and hardcoded strings. | ||
| 6 | |||
| 7 | |||
| 8 | |||
| 9 | |||
| 10 | # Find the main distribution paths | ||
| 11 | use Config (); | ||
| 12 | my $root = $Config::Config{'prefix'}; | ||
| 13 | $root =~ s/\\perl$//; | ||
| 14 | my $cpan = "$root\\cpan"; | ||
| 15 | my $minicpan = "$root\\minicpan"; | ||
| 16 | my $windows = $ENV{'SYSTEMROOT'} || "C:\\WINDOWS"; | ||
| 17 | my $system32 = "$windows\\system32"; | ||
| 18 | |||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | # Derive the CPAN Config | ||
| 23 | $CPAN::Config = { | ||
| 24 | applypatch => q[], | ||
| 25 | auto_commit => q[1], | ||
| 26 | build_cache => q[20], | ||
| 27 | build_dir => "$cpan\\build", | ||
| 28 | build_dir_reuse => q[0], | ||
| 29 | build_requires_install_policy => q[yes], | ||
| 30 | bzip2 => q[], | ||
| 31 | cache_metadata => q[0], | ||
| 32 | check_sigs => q[0], | ||
| 33 | colorize_output => q[0], | ||
| 34 | colorize_print => q[bold blue on_white], | ||
| 35 | colorize_warn => q[bold red on_white], | ||
| 36 | commandnumber_in_prompt => q[0], | ||
| 37 | cpan_home => $cpan, | ||
| 38 | curl => q[], | ||
| 39 | ftp => "$system32\\ftp.exe", | ||
| 40 | ftp_passive => q[1], | ||
| 41 | ftp_proxy => q[], | ||
| 42 | getcwd => q[cwd], | ||
| 43 | gpg => q[], | ||
| 44 | gzip => q[], | ||
| 45 | histfile => "$cpan\\histfile", | ||
| 46 | histsize => q[100], | ||
| 47 | http_proxy => q[], | ||
| 48 | inactivity_timeout => q[0], | ||
| 49 | index_expire => q[1], | ||
| 50 | inhibit_startup_message => q[0], | ||
| 51 | keep_source_where => "$cpan\\sources", | ||
| 52 | load_module_verbosity => q[none], | ||
| 53 | lynx => q[], | ||
| 54 | make => "$root\\c\\bin\\dmake.exe", | ||
| 55 | make_arg => q[], | ||
| 56 | make_install_arg => q[UNINST=1], | ||
| 57 | makepl_arg => "LIBS=-L$root\\c\\lib INC=-I$root\\c\\include", | ||
| 58 | mbuild_arg => q[], | ||
| 59 | mbuild_install_arg => q[--uninst 1], | ||
| 60 | mbuildpl_arg => q[], | ||
| 61 | ncftp => q[], | ||
| 62 | ncftpget => q[], | ||
| 63 | no_proxy => q[], | ||
| 64 | pager => "$system32\\more.com", | ||
| 65 | patch => q[], | ||
| 66 | prefer_installer => q[MB], | ||
| 67 | prefs_dir => "$cpan\\prefs", | ||
| 68 | prerequisites_policy => q[follow], | ||
| 69 | scan_cache => q[atstart], | ||
| 70 | shell => "$system32\\cmd.exe", | ||
| 71 | show_unparsable_versions => q[0], | ||
| 72 | show_upload_date => q[1], | ||
| 73 | show_zero_versions => q[0], | ||
| 74 | tar => q[], | ||
| 75 | tar_verbosity => q[none], | ||
| 76 | term_is_latin => q[0], | ||
| 77 | term_ornaments => q[0], | ||
| 78 | test_report => q[0], | ||
| 79 | unzip => q[], | ||
| 80 | urllist => [ | ||
| 81 | q[http://cpan.pair.com/], | ||
| 82 | -d $minicpan ? ($minicpan) : (), | ||
| 83 | ], | ||
| 84 | use_sqlite => q[1], | ||
| 85 | wget => q[], | ||
| 86 | yaml_load_code => q[0], | ||
| 87 | yaml_module => q[YAML], | ||
| 88 | }; | ||
| 89 | |||
| 90 | 1; |