… | |
… | |
392 | Variables you *should* override |
392 | Variables you *should* override |
393 | "EMAIL" |
393 | "EMAIL" |
394 | The e-mail address of the person who built this binary. Has no good |
394 | The e-mail address of the person who built this binary. Has no good |
395 | default, so should be specified by you. |
395 | default, so should be specified by you. |
396 | |
396 | |
397 | Variables you *might want* to override |
397 | Variables you might *want* to override |
398 | "PERLVER" |
398 | "PERLVER" |
399 | The perl version to install - default is currently 5.12.2, but 5.8.9 |
399 | The perl version to install - default is currently 5.12.2, but 5.8.9 |
400 | is also a good choice (5.8.9 is much smaller than 5.12.2, while |
400 | is also a good choice (5.8.9 is much smaller than 5.12.2, while |
401 | 5.10.1 is about as big as 5.12.2). |
401 | 5.10.1 is about as big as 5.12.2). |
402 | |
402 | |
… | |
… | |
435 | EXTRA_MODULES="EV AnyEvent Coro IO::AIO" |
435 | EXTRA_MODULES="EV AnyEvent Coro IO::AIO" |
436 | |
436 | |
437 | Note that you can also use a "postinstall" hook to achieve this, and |
437 | Note that you can also use a "postinstall" hook to achieve this, and |
438 | more. |
438 | more. |
439 | |
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 | |
445 | "STATICPERL_MODULES" |
445 | "STATICPERL_MODULES" |
… | |
… | |
453 | |
453 | |
454 | Example: install extra modules from CPAN and from some directories at |
454 | Example: install extra modules from CPAN and from some directories at |
455 | staticperl install time. |
455 | staticperl install time. |
456 | |
456 | |
457 | postinstall() { |
457 | postinstall() { |
458 | rm -rf lib/threads.* # weg mit Schaden |
458 | rm -rf lib/threads* # weg mit Schaden |
459 | instcpan IO::AIO EV |
459 | instcpan IO::AIO EV |
460 | instsrc ~/src/AnyEvent |
460 | instsrc ~/src/AnyEvent |
461 | instsrc ~/src/XML-Sablotron-1.0100001 |
461 | instsrc ~/src/XML-Sablotron-1.0100001 |
462 | instcpan AnyEvent::HTTPD |
462 | instcpan Anyevent::AIO AnyEvent::HTTPD |
463 | } |
463 | } |
464 | |
464 | |
465 | postconfigure |
465 | postconfigure |
466 | Called after configuring, but before building perl. Current working |
466 | Called after configuring, but before building perl. Current working |
467 | directory is the perl source directory. |
467 | directory is the perl source directory. |