Da sala de bate-papo # gentoo @ freenode:
grknight> they come from the profile use descriptions and the
metadata.xml
if local to the package
iamben> in addition to the per-pkgmetadata.xml
in the ebuild dir, they can be pulled from${PORTDIR}/profiles/use.desc
anduse.local.desc
Do documento de metadata.xml
:
<use> This tag contains descriptions of USE flags. This tag is optional and, if specified, has one required subtag: <flag>.
Ele também fornece exemplos :
<?xml version="1.0" encoding="UTF-8">
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gentopia</herd>
<maintainer>
<email>[email protected]</email>
</maintainer>
<maintainer>
<email>[email protected]</email>
</maintainer>
<use>
<flag name='acpi'>Enables HAL to attempt to read from
/proc/acpi/event, if unavailable, HAL will read events from
<pkg>sys-power/acpid</pkg>. If you need multiple acpi
readers, ensure acpid is in your default runlevel along with HAL. This
will also enable HAL to read Toshia and IBM acpi events which do not
get sent via /proc/acpi/event</flag>
[...]
</use>
</pkgmetadata>