On Sat, 19 Dec 2009 19:01:03 -0500
"Michael P. Soulier" <[email protected]> wrote:
> On 19/12/09 Albert Hopkins said:
>
> > Create an local overlay. Put the ebuild in there.
>
> I'll need to read up on how. The section on overlays left me with the
> impression that overlays were for experimental code, not for keeping
> private copies of packages.
Unfortunately, the Gentoo overlays user's guide now focuses only on
using layman to get other people's overlays and no longer covers how
to set up a simple local overlay. I guess there's enough info in
various manpages to piece it together, but here's a quick/dirty howto.
In make.conf:
# to use some local ebuilds
PORTDIR_OVERLAY="/usr/local/portage"
Or you can use any director(y|ies) you like, in a list separated by
spaces.
Then drop a copy of the ebuild into
$PORTDIR_OVERLAY/[category]/[packagename]/
Run `ebuild [ebuild file] manifest` to create the checksums for the
ebuild. (Alternatively, I guess there's a way to copy the manifest
stuff from the portage tree.)
--
»Q«
Kleeneness is next to Gödelness.