On Friday 29 September 2006 23:03, [EMAIL PROTECTED] wrote: > i would like to have a script (usage e.g. "emerge_patch package > path/patch_file") which would emerge a given package and apply given patch > after source unpack phase. as i understood some time ago the hooks could be > used for it, but i havent found any hint how to use them.
I don't think the hooks are useful for that. Why not just copy the ebuild to an overlay and apply the patch in the ebuild in the overlay? I think [1] tells you everything you need to know to do that? [1] http://gentoo-wiki.com/HOWTO_Create_an_Updated_Ebuild -- Bo Andresen
pgpyeLtijYlFy.pgp
Description: PGP signature