Gentoo Archives: gentoo-user

From: "Bo Ørsted Andresen" <bo.andresen@××××.dk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Hooks for Portage 2.1?
Date: Sat, 30 Sep 2006 01:18:08
Message-Id: 200609300312.40128.bo.andresen@zlin.dk
In Reply to: Re: [gentoo-user] Hooks for Portage 2.1? by ps@twin.jikos.cz
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

Replies

Subject Author
Re: [gentoo-user] Hooks for Portage 2.1? ps@××××××××××.cz