[TRANSLATE] web/xml/packaging packaging.en.xml,1.85,1.86
Daniel Macks <[email protected]> Thu, 9 Feb 2006 00:22:21 -0500
| Newsgroups | gmane.os.apple.fink.i18n |
|---|---|
| Message-ID | <[email protected]> |
From: Daniel Macks <[email protected]> Modified Files: packaging.en.xml Log Message: Document conditionals in the Architecture field. RCS file: /cvsroot/fink/web/xml/packaging/packaging.en.xml,v --- packaging.en.xml 7 Feb 2006 10:37:34 -0000 1.85 +++ packaging.en.xml 9 Feb 2006 02:26:39 -0000 1.86 @@ -1539,10 +1539,13 @@ <item><itemt>Architecture</itemt> <itemd> <p> -A comma-separated list of architecture(s) the package is intended for. +A comma-separated list of CPU architecture(s) for which the package +(and any splitoff packages) are intended. At present, the only valid values for architecture are <code>powerpc</code> -and <code>i386</code>. A package which is missing this field is treated -as if the value of the field were <code>powerpc, i386</code>. +and <code>i386</code>. If this field is present and not blank after +conditional handling, fink will ignore the package description(s) if +the local machine architecture is not listed. If the field is omitted +or the value is blank, all architectures are assumed. (Introduced in a post-0.24.11 CVS version of fink.) </p> <p> @@ -1551,6 +1554,24 @@ packages), which should be declared to have architecture <code>powerpc</code>. </p> +<p> +This field supports the standard conditional syntax for any value in +the value list and percent-expansions can be used (see +the <code>Depends</code> field for more information). In this manner, +certain variants can be restricted to certain architectures. For +example: +</p> +<codeblock> + Package: foo-pm%type_pkg[perl] + Type: perl (5.8.1 5.8.4 5.8.6) + Architecture: (%type_pkg[perl] = 581) powerpc +</codeblock> +<p> +will result in the field for the foo-pm581 variant +being <code>powerpc</code> and the field being blank for all other +variants. Remember that omitting a certain architecture value does not +mean that the package is not for that architecture. +</p> </itemd></item> <item><itemt>Epoch</itemt> ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642