1 |
Author: zmedico |
2 |
Date: 2008-07-28 22:59:59 +0000 (Mon, 28 Jul 2008) |
3 |
New Revision: 11255 |
4 |
|
5 |
Modified: |
6 |
main/trunk/doc/package/ebuild/eapi/2.docbook |
7 |
Log: |
8 |
Add syntax examples for unconditional USE deps. |
9 |
|
10 |
|
11 |
Modified: main/trunk/doc/package/ebuild/eapi/2.docbook |
12 |
=================================================================== |
13 |
--- main/trunk/doc/package/ebuild/eapi/2.docbook 2008-07-28 22:50:17 UTC (rev 11254) |
14 |
+++ main/trunk/doc/package/ebuild/eapi/2.docbook 2008-07-28 22:59:59 UTC (rev 11255) |
15 |
@@ -33,6 +33,35 @@ |
16 |
</sect2> |
17 |
<sect2 id='package-ebuild-eapi-2-use-deps'> |
18 |
<title>USE Dependencies</title> |
19 |
+ <sect3 id='package-ebuild-eapi-2-use-deps-unconditional'> |
20 |
+ <title>Unconditional USE Dependencies</title> |
21 |
+ <table><title>Syntax Examples</title> |
22 |
+ <tgroup cols='2' align='left' > |
23 |
+ <colspec colname='example'/> |
24 |
+ <colspec colname='meaning'/> |
25 |
+ <thead> |
26 |
+ <row> |
27 |
+ <entry>Example</entry> |
28 |
+ <entry>Meaning</entry> |
29 |
+ </row> |
30 |
+ </thead> |
31 |
+ <tbody> |
32 |
+ <row> |
33 |
+ <entry>foo[bar]</entry> |
34 |
+ <entry>foo must have bar enabled</entry> |
35 |
+ </row> |
36 |
+ <row> |
37 |
+ <entry>foo[bar,baz]</entry> |
38 |
+ <entry>foo must have both bar and baz enabled</entry> |
39 |
+ </row> |
40 |
+ <row> |
41 |
+ <entry>foo[-bar,baz]</entry> |
42 |
+ <entry>foo must have bar disabled and baz enabled</entry> |
43 |
+ </row> |
44 |
+ </tbody> |
45 |
+ </tgroup> |
46 |
+ </table> |
47 |
+ </sect3> |
48 |
<sect3 id='package-ebuild-eapi-2-use-deps-conditional'> |
49 |
<title>Conditional USE Dependencies</title> |
50 |
<table><title>Syntax Examples</title> |