-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jonas Bernoulli wrote:
> So what I am looking for is a tutorial along the lines "howto write
> you first portage hook function". Of course a more in-depth
> description would also be welcome. If something like this already
> exists I apologize for not searching enough, and kindly ask you to
> point you to the location.

When portage is installed with USE=doc enabled, you'll find that
there is a small "Ebuild Phase Hooks" section in the first chapter
of the html documentation. Writing a phase hook is very much like
writing a normal ebuild phase function. You just need to add a pre_
or post_ prefix to then name.

Zac
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFHyaK0/ejvha5XGaMRAjykAKCqcknbMtkLcqWSqB2t9wPN3PES7gCfQbPa
6MXfRyMUVQJBdREffaCwEBs=
=6ymu
-----END PGP SIGNATURE-----
-- 
gentoo-portage-dev@lists.gentoo.org mailing list

Reply via email to