1 |
On Friday 29 September 2006 23:03, ps@××××××××××.cz wrote: |
2 |
> i would like to have a script (usage e.g. "emerge_patch package |
3 |
> path/patch_file") which would emerge a given package and apply given patch |
4 |
> after source unpack phase. as i understood some time ago the hooks could be |
5 |
> used for it, but i havent found any hint how to use them. |
6 |
|
7 |
I don't think the hooks are useful for that. Why not just copy the ebuild to |
8 |
an overlay and apply the patch in the ebuild in the overlay? I think [1] |
9 |
tells you everything you need to know to do that? |
10 |
|
11 |
[1] http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild |
12 |
|
13 |
-- |
14 |
Bo Andresen |