Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
en:cookbook:wok [2012/04/06 13:49] linea |
en:cookbook:wok [2012/10/24 19:48] linea |
||
---|---|---|---|
Line 48: | Line 48: | ||
<code> | <code> | ||
- | $ hg clone http://hg.slitaz.org/wok/ /home/slitaz/wok | + | # cook setup --wok |
</code> | </code> | ||
Line 81: | Line 81: | ||
Be sure to read the documentation on the options provided by the [[en:cookbook:receipt|receipt]] and the [[en:guides:tazwoktips|Tazwok Tips]] to avoid frustration! | Be sure to read the documentation on the options provided by the [[en:cookbook:receipt|receipt]] and the [[en:guides:tazwoktips|Tazwok Tips]] to avoid frustration! | ||
+ | |||
+ | === 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: | ||
+ | |||
+ | <code> # cook list mypkgs.cooklist </code> | ||
===== Package Compilation Options ===== | ===== Package Compilation Options ===== | ||
Line 96: | Line 102: | ||
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: | 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: | ||
- | <file> | + | <file bash> |
CONFIGURE_ARGS="--build=i486-pc-linux-gnu --host=i486-pc-linux-gnu" | CONFIGURE_ARGS="--build=i486-pc-linux-gnu --host=i486-pc-linux-gnu" | ||
</file> | </file> |