Hi there, everybody, how is it going?
From Gentoo User’s Guide:
“Overlays” are package trees for Portage. They contain additional ebuilds for Gentoo. They are maintained by Gentoo developers and projects but distributed separately from the main Portage tree.
But how to configure it easily? Some may use layman tool for that, but you can do manually without breaking your head :). So, steps are below:
Create an overlay directory:
# mkdir /usr/local/portage
Edit the file /etc/make.conf or /etc/portage/make.conf and add the following line anywhere in the file. Use a text editor that you prefer:
Suppose, you wanna install thunar-dropbox package on your system. Basically, you have to download its ebuild by “googling” for it. And after, move such ebuild to the /usr/local/portage directory. However, you probably have to create subdirs for the thunar-dropbox package.
(A portage subdir need to respect the hierarchy like this: type/package_name/)
# mkdir -p /usr/local/portage/xfce-extra/thunar-dropbox # mv thunar-dropbox-0.2.0.ebuild /usr/local/portage/xfce-extra/thunar-dropbox
# emerge --sync
# emerge -av thunar-dropbox --quiet