Le but du fichier
Un fichier
Balise | Description |
---|---|
Il y a aussi divers attributs qui peuvent être utilisés avec ces balises. Ils sont tous optionnels :
Attribut | Balise | Description |
---|---|---|
Dans ce premier exemple, nous vous montrons le
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>openoffice</herd> <longdescription> OpenOffice is the opensource version of staroffice. This ebuild allows you to compile it yourself. Unfortunately this compilation can take up to a day depending on the speed of your computer. It will however make a snappier openoffice than the binary version. </longdescription> </pkgmetadata>
Le « herd »
<herd> <name>openoffice</name> <email>openoffice@gentoo.org</email> <description>openoffice related packages</description> <maintainer><email>pauldv@gentoo.org</email></maintainer> <maintainer><email>brad@gentoo.org</email></maintainer> </herd>
Comme second exemple, nous regarderons le
<?xml version='1.0' encoding='UTF-8'?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>tools-portage</herd> <maintainer> <email>johnm@gentoo.org</email> <name>John Mylchreest</name> </maintainer> <longdescription> This utility is used to select the fastest mirror (distfiles) and provide a nicer front-end for mirror selection (both rsync + distfiles) to a user. </longdescription> </pkgmetadata>