Le fichier
Un fichier
balise | description |
---|---|
Il y a également quelques attributs qui peuvent être utilisés avec ces balises. Ils sont tous optionnels :
attribut | tags | description |
---|---|---|
Dans le premier exemple nous vous proposons un fichier
<?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 groupe
<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>
Si vous souhaitez vous ajouter (ou enlever) dans un groupe, éditez
Comme second exemple nous allons voir 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>