cookutils diff doc/cookutils.en.html @ rev 39
cook: Add option --getsrc (Thanks Christopher)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 07 01:44:24 2011 +0200 (2011-05-07) |
parents | 62fa13d02142 |
children | 12fe3e17e20a |
line diff
1.1 --- a/doc/cookutils.en.html Fri May 06 17:05:53 2011 +0200 1.2 +++ b/doc/cookutils.en.html Sat May 07 01:44:24 2011 +0200 1.3 @@ -31,8 +31,9 @@ 1.4 1.5 <h3>Cook usage</h3> 1.6 <p> 1.7 - Cook provide a small built-in help usage that you can display with 1.8 - the command: 1.9 + Cook provide a small built-in help usage that you can display with the 1.10 + command 'usage'. It also have some options to perform special task on 1.11 + a package, rater before cooking it or after. To get help and usage: 1.12 </p> 1.13 <pre> 1.14 # cook usage 1.15 @@ -49,11 +50,11 @@ 1.16 # tazdev gen-chroot && tazdev chroot 1.17 </pre> 1.18 <p> 1.19 - By default Tazdev create a chrrot in /home/slitaz/cooking/chroot but you 1.20 + By default Tazdev create a chroot in /home/slitaz/cooking/chroot but you 1.21 can specify a custome path in argument. The chroot place is not important, 1.22 when you will be in the chroot you will use standard SliTaz path such as 1.23 /home/slitaz/wok for the wok directory or /home/slitaz/log for all the cook 1.24 - logs. As usual you can diplay tazdev help usage with: tazdev usage 1.25 + logs. As usual you can diplay tazdev help usage with: tazdev usage. 1.26 </p> 1.27 1.28 <h3>Getting started</h3> 1.29 @@ -107,13 +108,26 @@ 1.30 </pre> 1.31 <p> 1.32 If all went well you will find your packages in $SLITAZ/packages 1.33 - directory and produced files in $SLITAZ/wok/pkgname. If you want to cook 1.34 - and install the package in one command: 1.35 + directory and produced files in $SLITAZ/wok/pkgname. 1.36 +</p> 1.37 + 1.38 +<h3>Cook and install</h3> 1.39 +<p> 1.40 + If you want to cook and install the package in one command: 1.41 </p> 1.42 <pre> 1.43 # cook pkgname --install 1.44 </pre> 1.45 1.46 +<h3>Get sources</h3> 1.47 +<p> 1.48 + If you want or need to download only the sources of a package but without 1.49 + building it, you can use the option --getsrc as bellow: 1.50 +</p> 1.51 +<pre> 1.52 +# cook pkgname --getsrc 1.53 +</pre> 1.54 + 1.55 <h3>Clean packages</h3> 1.56 <p> 1.57 After compilation and packaging ther is several files in the wok that take