Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:cookbook:wok [2012/04/06 11:04] – Start to update linea | en:cookbook:wok [2017/04/17 16:31] (current) – create package after writing recipe hgt | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| === Wok Structure and Organisation === | === Wok Structure and Organisation === | ||
| - | The //wok// is a directory structure that houses all the available packages. Each directory contains at least one receipt to download, unpack, compile and generate a package. Cookutils also needs to create a directory to store downloaded sources (// | + | The //wok// is a directory structure that houses all the available packages. Each directory contains at least one receipt to download, unpack, compile and generate a package. Cookutils also needs to create a directory to store downloaded sources (// |
| There is more than one Wok on the [[http:// | There is more than one Wok on the [[http:// | ||
| Line 39: | Line 39: | ||
| </ | </ | ||
| - | More information on the use of the Mercurial VCS is available from its [[http:// | + | More information on the use of the Mercurial VCS is available from its [[http:// |
| === Cloning the Wok === | === Cloning the Wok === | ||
| Line 48: | Line 48: | ||
| < | < | ||
| - | $ hg clone http:// | + | # cook setup --wok |
| </ | </ | ||
| Line 68: | Line 68: | ||
| The process for generating a SliTaz package from source can be summarised thus: [[http:// | The process for generating a SliTaz package from source can be summarised thus: [[http:// | ||
| - | < | + | < |
| When generating your first package, it is advisable to [[http:// | When generating your first package, it is advisable to [[http:// | ||
| Line 76: | Line 76: | ||
| When Cookutils has finished building M4, its package is placed in the directory specified by the configuration file (/// | When Cookutils has finished building M4, its package is placed in the directory specified by the configuration file (/// | ||
| - | When you are familiar with [[en: | + | When you are familiar with [[en: |
| < | < | ||
| Be sure to read the documentation on the options provided by the [[en: | Be sure to read the documentation on the options provided by the [[en: | ||
| + | |||
| + | === Cooking Multiple Packages with a cook list === | ||
| + | |||
| + | Cookutils can compile several packages with a single command. This is achieved with a //cooking list//, a text file of one package per line. Cookutils can accept a cook-list with the command of the same name; for example, to cook the //mypkgs// cook-list: | ||
| + | |||
| + | < | ||
| ===== Package Compilation Options ===== | ===== Package Compilation Options ===== | ||
| Line 94: | Line 100: | ||
| === Optimization === | === Optimization === | ||
| - | The official SliTaz packages are optimized for **i486**, the optimization arguments used to configure are specified in **/etc/cookutils.conf** and can be called via the variable $CONFIGURE_ARGS. If you want to compile a package with different arguments, you can modify the Cookutils configuration file: | + | The official SliTaz packages are optimized for **i486**, the optimization arguments used to configure are specified in **/etc/slitaz/cook.conf** and can be called via the variable $CONFIGURE_ARGS. If you want to compile a package with different arguments, you can modify the Cookutils configuration file: |
| - | < | + | < |
| CONFIGURE_ARGS=" | CONFIGURE_ARGS=" | ||
| </ | </ | ||