website diff en/doc/cookbook/receipts.html @ rev 540

en: Update receipts (Ckbk)
author Paul Issott <paul@slitaz.org>
date Mon Aug 31 19:23:12 2009 +0000 (2009-08-31)
parents fa2c5bed2417
children b8788d938e18
line diff
     1.1 --- a/en/doc/cookbook/receipts.html	Wed Aug 19 14:09:59 2009 +0200
     1.2 +++ b/en/doc/cookbook/receipts.html	Mon Aug 31 19:23:12 2009 +0000
     1.3 @@ -148,7 +148,7 @@
     1.4  <p>
     1.5  <a name="provide"></a>
     1.6  <code>$PROVIDE</code> : Some packages offer the same functionality, for 
     1.7 -instance the web server was at first lighttpd, now apache is available. 
     1.8 +instance the web server was at first lighttpd; now apache is available. 
     1.9  All packages dependent on a web server refer to lighttpd. 
    1.10  The <code>$PROVIDE="apache"</code> variable in the apache receipt says 
    1.11  that packages dependent on lighttpd do not need to install the lighttpd 
    1.12 @@ -169,6 +169,14 @@
    1.13  <code>PROVIDE="libgl:nvidia"</code> in the nvidia-glx package, define that 
    1.14  libgl is an optimized version when the nvidia package is installed.
    1.15  </p>
    1.16 +<p>
    1.17 +<a name="self_install"></a>
    1.18 +<code>$SELF_INSTALL</code> : Certain packages use commands provided by 
    1.19 +the package itself in the post_install function. To install this package 
    1.20 +into a directory other than root and still be able to use these commands, 
    1.21 +the package must have been installed in / in earlier stages. The line:
    1.22 +<code>SELF_INSTALL=1</code>  alerts tazpkg to this feature.
    1.23 +</p>
    1.24  
    1.25  <h3>Variables automatically generated by Tazwok</h3>
    1.26  <p>