1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Jonas Bernoulli wrote: |
5 |
> So what I am looking for is a tutorial along the lines "howto write |
6 |
> you first portage hook function". Of course a more in-depth |
7 |
> description would also be welcome. If something like this already |
8 |
> exists I apologize for not searching enough, and kindly ask you to |
9 |
> point you to the location. |
10 |
|
11 |
When portage is installed with USE=doc enabled, you'll find that |
12 |
there is a small "Ebuild Phase Hooks" section in the first chapter |
13 |
of the html documentation. Writing a phase hook is very much like |
14 |
writing a normal ebuild phase function. You just need to add a pre_ |
15 |
or post_ prefix to then name. |
16 |
|
17 |
Zac |
18 |
-----BEGIN PGP SIGNATURE----- |
19 |
Version: GnuPG v2.0.7 (GNU/Linux) |
20 |
|
21 |
iD8DBQFHyaK0/ejvha5XGaMRAjykAKCqcknbMtkLcqWSqB2t9wPN3PES7gCfQbPa |
22 |
6MXfRyMUVQJBdREffaCwEBs= |
23 |
=6ymu |
24 |
-----END PGP SIGNATURE----- |
25 |
-- |
26 |
gentoo-portage-dev@l.g.o mailing list |