Add syntax examples for unconditional USE deps.
authorZac Medico <zmedico@gentoo.org>
Mon, 28 Jul 2008 22:59:59 +0000 (22:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 28 Jul 2008 22:59:59 +0000 (22:59 -0000)
svn path=/main/trunk/; revision=11255

doc/package/ebuild/eapi/2.docbook

index e6496288d4d2a8dce751a5e07ecdc7fa2cff72d7..08386cc2f25f275716a34c33290fc9ed1a13c3e8 100644 (file)
        </sect2>
        <sect2 id='package-ebuild-eapi-2-use-deps'>
        <title>USE Dependencies</title>
+       <sect3 id='package-ebuild-eapi-2-use-deps-unconditional'>
+       <title>Unconditional USE Dependencies</title>
+       <table><title>Syntax Examples</title>
+       <tgroup cols='2' align='left' >
+       <colspec colname='example'/>
+       <colspec colname='meaning'/>
+       <thead>
+       <row>
+       <entry>Example</entry>
+       <entry>Meaning</entry>
+       </row>
+       </thead>
+       <tbody>
+       <row>
+       <entry>foo[bar]</entry>
+       <entry>foo must have bar enabled</entry>
+       </row>
+       <row>
+       <entry>foo[bar,baz]</entry>
+       <entry>foo must have both bar and baz enabled</entry>
+       </row>
+       <row>
+       <entry>foo[-bar,baz]</entry>
+       <entry>foo must have bar disabled and baz enabled</entry>
+       </row>
+       </tbody>
+       </tgroup>
+       </table>
+       </sect3>
        <sect3 id='package-ebuild-eapi-2-use-deps-conditional'>
        <title>Conditional USE Dependencies</title>
        <table><title>Syntax Examples</title>