ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/App-Staticperl/README
(Generate patch)

Comparing App-Staticperl/README (file contents):
Revision 1.12 by root, Thu Feb 24 07:10:03 2011 UTC vs.
Revision 1.13 by root, Fri Mar 18 19:49:04 2011 UTC

841 OVERRIDABLE HOOKS 841 OVERRIDABLE HOOKS
842 In addition to environment variables, it is possible to provide some 842 In addition to environment variables, it is possible to provide some
843 shell functions that are called at specific times. To provide your own 843 shell functions that are called at specific times. To provide your own
844 commands, just define the corresponding function. 844 commands, just define the corresponding function.
845 845
846 The actual order in which hooks are invoked during a full install from
847 scratch is "preconfigure", "patchconfig", "postconfigure", "postbuild",
848 "postinstall".
849
846 Example: install extra modules from CPAN and from some directories at 850 Example: install extra modules from CPAN and from some directories at
847 staticperl install time. 851 staticperl install time.
848 852
849 postinstall() { 853 postinstall() {
850 rm -rf lib/threads* # weg mit Schaden 854 rm -rf lib/threads* # weg mit Schaden
853 instsrc ~/src/XML-Sablotron-1.0100001 857 instsrc ~/src/XML-Sablotron-1.0100001
854 instcpan Anyevent::AIO AnyEvent::HTTPD 858 instcpan Anyevent::AIO AnyEvent::HTTPD
855 } 859 }
856 860
857 preconfigure 861 preconfigure
858 Called just before running ./Configur in the perl source directory. 862 Called just before running ./Configure in the perl source directory.
859 Current working directory is the perl source directory. 863 Current working directory is the perl source directory.
860 864
861 This can be used to set any "PERL_xxx" variables, which might be 865 This can be used to set any "PERL_xxx" variables, which might be
862 costly to compute. 866 costly to compute.
867
868 patchconfig
869 Called after running ./Configure in the perl source directory to
870 create ./config.sh, but before running ./Configure -S to actually
871 apply the config. Current working directory is the perl source
872 directory.
873
874 Can be used to tailor/patch config.sh or do any other modifications.
863 875
864 postconfigure 876 postconfigure
865 Called after configuring, but before building perl. Current working 877 Called after configuring, but before building perl. Current working
866 directory is the perl source directory. 878 directory is the perl source directory.
867
868 Could be used to tailor/patch config.sh (followed by sh Configure
869 -S) or do any other modifications.
870 879
871 postbuild 880 postbuild
872 Called after building, but before installing perl. Current working 881 Called after building, but before installing perl. Current working
873 directory is the perl source directory. 882 directory is the perl source directory.
874 883

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines