diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-28 22:59:59 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-28 22:59:59 +0000 |
commit | 9de3e8b0ffdc542b4d62974b7d8e561321b2dd27 (patch) | |
tree | 2040e5d179a1b7bba0e936328f8107d2540372e0 | |
parent | d6c337182f4d57b114bd37cb2e0dd3d994713f51 (diff) | |
download | portage-9de3e8b0ffdc542b4d62974b7d8e561321b2dd27.tar.gz portage-9de3e8b0ffdc542b4d62974b7d8e561321b2dd27.tar.bz2 portage-9de3e8b0ffdc542b4d62974b7d8e561321b2dd27.zip |
Add syntax examples for unconditional USE deps.
svn path=/main/trunk/; revision=11255
-rw-r--r-- | doc/package/ebuild/eapi/2.docbook | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/package/ebuild/eapi/2.docbook b/doc/package/ebuild/eapi/2.docbook index e6496288d..08386cc2f 100644 --- a/doc/package/ebuild/eapi/2.docbook +++ b/doc/package/ebuild/eapi/2.docbook @@ -33,6 +33,35 @@ </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> |