website rev 275

en: Update receipts (Ckbk)
author Paul Issott <paul@slitaz.org>
date Mon Feb 02 20:21:31 2009 +0000 (2009-02-02)
parents a6c94dad02e5
children e0226f433185
files en/doc/cookbook/receipts.html
line diff
     1.1 --- a/en/doc/cookbook/receipts.html	Mon Feb 02 20:50:44 2009 +0100
     1.2 +++ b/en/doc/cookbook/receipts.html	Mon Feb 02 20:21:31 2009 +0000
     1.3 @@ -119,6 +119,10 @@
     1.4  <pre class="script"> CONFIG_FILES="/etc/netatalk/AppleVolumes.* /etc/netatalk/*.conf"
     1.5  </pre>
     1.6  <p>
     1.7 +<code>$SUGGESTED</code> : Lists useful packages without being essential. 
     1.8 +Also used to activate optional features.
     1.9 +</p>
    1.10 +<p>
    1.11  <code>$WANTED</code> : SliTaz packages normally depend on the compilation of 
    1.12  a source package. Sometimes the receipt of a package requires no compilation 
    1.13  of rules, then $WANTED is used to copy files from the source of another 
    1.14 @@ -132,6 +136,23 @@
    1.15  a package. It should be noted that in the case of libX11, the name of the 
    1.16  source archive becomes $SOURCE-$VERSION.tar.gz.
    1.17  </p>
    1.18 +<p>
    1.19 +<code>$PROVIDE</code> : Some packages offer the same functionality, for 
    1.20 +instance the web server was at first lighttpd, now apache is available. 
    1.21 +All packages dependent on a web server refer to lighttpd. 
    1.22 +The <code>$PROVIDE="apache"</code> variable in the apache receipt says 
    1.23 +that packages dependent on lighttpd do not need to install the lighttpd 
    1.24 +package if apache is already on the system. Some packages may vary according 
    1.25 +to the webserver you choose, ie. the php package is dependent on lighttpd, 
    1.26 +as is php-apache on apache. The <code>PROVIDE="php:apache"</code> in the 
    1.27 +apache receipt says that you must install php-apache instead of php, if 
    1.28 +apache is already on the system. Therefore each package dependent on php 
    1.29 +will install either php-apache or php according to the webserver on the 
    1.30 +system. This variable also chooses packages compiled with different options. 
    1.31 +The <code>PROVIDE="epdfview:cups"</code> in the epdfview-cups receipt allows 
    1.32 +you to install epdfview with printer support via cups if cups is already on 
    1.33 +the system.
    1.34 +</p>
    1.35  
    1.36  <h3>Variables automatically generated by Tazwok</h3>
    1.37  <p>