… | |
… | |
402 | |
402 | |
403 | "CPAN" |
403 | "CPAN" |
404 | The URL of the CPAN mirror to use (e.g. |
404 | The URL of the CPAN mirror to use (e.g. |
405 | <http://mirror.netcologne.de/cpan/>). |
405 | <http://mirror.netcologne.de/cpan/>). |
406 | |
406 | |
|
|
407 | "EXTRA_MODULES" |
|
|
408 | Additional modules installed during staticperl install. Here you can |
|
|
409 | set which modules you want have to installed from CPAN. |
|
|
410 | |
|
|
411 | Example: I really really need EV, AnyEvent, Coro and IO::AIO. |
|
|
412 | |
|
|
413 | EXTRA_MODULES="EV AnyEvent Coro IO::AIO" |
|
|
414 | |
|
|
415 | Note that you can also use a "postinstall" hook to achieve this, and |
|
|
416 | more. |
|
|
417 | |
|
|
418 | "PERL_MM_USE_DEFAULT", "EV_EXTRA_DEFS", ... |
|
|
419 | Usually set to 1 to make modules "less inquisitive" during their |
|
|
420 | installation, you can set any environment variable you want - some |
|
|
421 | modules (such as Coro or EV) use environment variables for further |
|
|
422 | tweaking. |
|
|
423 | |
|
|
424 | "STATICPERL" |
|
|
425 | The directory where staticperl stores all its files (default: |
|
|
426 | ~/.staticperl). |
|
|
427 | |
|
|
428 | "PREFIX" |
|
|
429 | The prefix where perl gets installed (default: $STATICPERL/perl), |
|
|
430 | i.e. where the bin and lib subdirectories will end up. |
|
|
431 | |
407 | "PERL_CPPFLAGS", "PERL_OPTIMIZE", "PERL_LDFLAGS", "PERL_LIBS" |
432 | "PERL_CPPFLAGS", "PERL_OPTIMIZE", "PERL_LDFLAGS", "PERL_LIBS" |
408 | These flags are passed to perl's Configure script, and are generally |
433 | These flags are passed to perl's Configure script, and are generally |
409 | optimised for small size (at the cost of performance). Since they |
434 | optimised for small size (at the cost of performance). Since they |
410 | also contain subtle workarounds around various build issues, |
435 | also contain subtle workarounds around various build issues, |
411 | changing these usually requires understanding their default values - |
436 | changing these usually requires understanding their default values - |
412 | best look at the top of the staticperl script for more info on |
437 | best look at the top of the staticperl script for more info on |
413 | these. |
438 | these. |
414 | |
439 | |
415 | "STATICPERL" |
|
|
416 | The directory where staticperl stores all its files (default: |
|
|
417 | ~/.staticperl). |
|
|
418 | |
|
|
419 | "PREFIX" |
|
|
420 | The prefix where perl gets installed (default: $STATICPERL/perl), |
|
|
421 | i.e. where the bin and lib subdirectories will end up. |
|
|
422 | |
|
|
423 | "PERL_MM_USE_DEFAULT", "EV_EXTRA_DEFS", others |
|
|
424 | Usually set to 1 to make modules "less inquisitive" during their |
|
|
425 | installation, you can set any environment variable you want - some |
|
|
426 | modules (such as Coro or EV) use environment variables for further |
|
|
427 | tweaking. |
|
|
428 | |
|
|
429 | "EXTRA_MODULES" |
|
|
430 | Additional modules installed during staticperl install. Here you can |
|
|
431 | set which modules you want have to installed from CPAN. |
|
|
432 | |
|
|
433 | Example: I really really need EV, AnyEvent, Coro and IO::AIO. |
|
|
434 | |
|
|
435 | EXTRA_MODULES="EV AnyEvent Coro IO::AIO" |
|
|
436 | |
|
|
437 | Note that you can also use a "postinstall" hook to achieve this, and |
|
|
438 | more. |
|
|
439 | |
|
|
440 | Variables you probably *do not want* to override |
440 | Variables you probably *do not want* to override |
441 | "MKBUNDLE" |
441 | "MKBUNDLE" |
442 | Where staticperl writes the "mkbundle" command to (default: |
442 | Where staticperl writes the "mkbundle" command to (default: |
443 | $STATICPERL/mkbundle). |
443 | $STATICPERL/mkbundle). |
444 | |
444 | |