… | |
… | |
444 | |
444 | |
445 | =item C<CPAN> |
445 | =item C<CPAN> |
446 | |
446 | |
447 | The URL of the CPAN mirror to use (e.g. L<http://mirror.netcologne.de/cpan/>). |
447 | The URL of the CPAN mirror to use (e.g. L<http://mirror.netcologne.de/cpan/>). |
448 | |
448 | |
|
|
449 | =item C<EXTRA_MODULES> |
|
|
450 | |
|
|
451 | Additional modules installed during F<staticperl install>. Here you can |
|
|
452 | set which modules you want have to installed from CPAN. |
|
|
453 | |
|
|
454 | Example: I really really need EV, AnyEvent, Coro and IO::AIO. |
|
|
455 | |
|
|
456 | EXTRA_MODULES="EV AnyEvent Coro IO::AIO" |
|
|
457 | |
|
|
458 | Note that you can also use a C<postinstall> hook to achieve this, and |
|
|
459 | more. |
|
|
460 | |
|
|
461 | =item C<PERL_MM_USE_DEFAULT>, C<EV_EXTRA_DEFS>, ... |
|
|
462 | |
|
|
463 | Usually set to C<1> to make modules "less inquisitive" during their |
|
|
464 | installation, you can set any environment variable you want - some modules |
|
|
465 | (such as L<Coro> or L<EV>) use environment variables for further tweaking. |
|
|
466 | |
|
|
467 | =item C<STATICPERL> |
|
|
468 | |
|
|
469 | The directory where staticperl stores all its files |
|
|
470 | (default: F<~/.staticperl>). |
|
|
471 | |
|
|
472 | =item C<PREFIX> |
|
|
473 | |
|
|
474 | The prefix where perl gets installed (default: F<$STATICPERL/perl>), |
|
|
475 | i.e. where the F<bin> and F<lib> subdirectories will end up. |
|
|
476 | |
449 | =item C<PERL_CPPFLAGS>, C<PERL_OPTIMIZE>, C<PERL_LDFLAGS>, C<PERL_LIBS> |
477 | =item C<PERL_CPPFLAGS>, C<PERL_OPTIMIZE>, C<PERL_LDFLAGS>, C<PERL_LIBS> |
450 | |
478 | |
451 | These flags are passed to perl's F<Configure> script, and are generally |
479 | These flags are passed to perl's F<Configure> script, and are generally |
452 | optimised for small size (at the cost of performance). Since they also |
480 | optimised for small size (at the cost of performance). Since they also |
453 | contain subtle workarounds around various build issues, changing these |
481 | contain subtle workarounds around various build issues, changing these |
454 | usually requires understanding their default values - best look at the top |
482 | usually requires understanding their default values - best look at the top |
455 | of the F<staticperl> script for more info on these. |
483 | of the F<staticperl> script for more info on these. |
456 | |
|
|
457 | =item C<STATICPERL> |
|
|
458 | |
|
|
459 | The directory where staticperl stores all its files |
|
|
460 | (default: F<~/.staticperl>). |
|
|
461 | |
|
|
462 | =item C<PREFIX> |
|
|
463 | |
|
|
464 | The prefix where perl gets installed (default: F<$STATICPERL/perl>), |
|
|
465 | i.e. where the F<bin> and F<lib> subdirectories will end up. |
|
|
466 | |
|
|
467 | =item C<PERL_MM_USE_DEFAULT>, C<EV_EXTRA_DEFS>, others |
|
|
468 | |
|
|
469 | Usually set to C<1> to make modules "less inquisitive" during their |
|
|
470 | installation, you can set any environment variable you want - some modules |
|
|
471 | (such as L<Coro> or L<EV>) use environment variables for further tweaking. |
|
|
472 | |
|
|
473 | =item C<EXTRA_MODULES> |
|
|
474 | |
|
|
475 | Additional modules installed during F<staticperl install>. Here you can |
|
|
476 | set which modules you want have to installed from CPAN. |
|
|
477 | |
|
|
478 | Example: I really really need EV, AnyEvent, Coro and IO::AIO. |
|
|
479 | |
|
|
480 | EXTRA_MODULES="EV AnyEvent Coro IO::AIO" |
|
|
481 | |
|
|
482 | Note that you can also use a C<postinstall> hook to achieve this, and |
|
|
483 | more. |
|
|
484 | |
484 | |
485 | =back |
485 | =back |
486 | |
486 | |
487 | =head4 Variables you probably I<do not want> to override |
487 | =head4 Variables you probably I<do not want> to override |
488 | |
488 | |