summaryrefslogtreecommitdiffstats
path: root/doc/package/ebuild/eapi/2.docbook
blob: 594eceabe9c439b60c323f6c3871e4014d13c21f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<sect1 id='package-ebuild-eapi-2'>
	<title>EAPI 2_pre0</title>
	<sect2 id='package-ebuild-eapi-2-use-deps'>
	<title>USE Dependencies</title>
	<sect3 id='package-ebuild-eapi-2-use-deps-conditional'>
	<title>Conditional USE Dependencies</title>
	<table><title>Syntax Examples</title>
	<tgroup cols='2' align='left' >
	<colspec colname='compact'/>
	<colspec colname='expanded'/>
	<thead>
	<row>
	<entry>Compact Form</entry>
	<entry>Equivalent Expanded Form</entry>
	</row>
	</thead>
	<tbody>
	<row>
	<entry>foo[bar?]</entry>
	<entry>foo  bar? (  foo[bar] )</entry>
	</row>
	<row>
	<entry>foo[-bar?]</entry>
	<entry>foo !bar? ( foo[-bar] )</entry>
	</row>
	<row>
	<entry>foo[bar=]</entry>
	<entry>foo  bar? (  foo[bar] ) !bar? ( foo[-bar] )</entry>
	</row>
	<row>
	<entry>foo[bar!=]</entry>
	<entry>foo  bar? ( foo[-bar] ) !bar? (  foo[bar] )</entry>
	</row>
	</tbody>
	</tgroup>
	</table>
	</sect3>
	</sect2>
</sect1>