Added two macro examples:
[midnight-commander/osp/hornmich.git] / contrib / dist / gentoo / README
blob53239fc84e01144ca0229765671b7dc81961519b
1 Hi! Currently bleeding-edge mc-9999.ebuild (git)
2 hosts on repo.or.cz in overlay format:
4     git://repo.or.cz/slyfox-gentoo.git
6 In order to use it you need to perform some steps:
8 1. fetch overlay somewhere:
9   $ cd ~/portage/
10   $ git clone git://repo.or.cz/slyfox-gentoo.git
12 2. add overlay to your PM:
13   * portage:
14       $ cat /etc/make.conf | grep PORTDIR_OVERLAY
15           PORTDIR_OVERLAY="/home/slyfox/portage/slyfox-gentoo"
16   * paludis:
17      $ cat /etc/paludis/repositories/slyfox-gentoo.conf
18            location = ${ROOT}/home/slyfox/portage/slyfox-gentoo
19            master_repository = gentoo
20            format = ebuild
22 3. unmask unkeyworded ebuild:
23   * portage:
24       $ ACCEPT_KEYWORDS="~amd64 **" emerge -pv mc
25       or
26       $ cat /etc/portage/package.keywords | grep app-misc/mc
27           =app-misc/mc-9999 ~amd64 **
28   * paludis:
29       $ cat /etc/paludis/keywords.conf.d/mc.conf
30           =app-misc/mc-9999::slyfox-gentoo ~amd64 *
32 4. install ebuild the way you usually do it
34 5. update an overlay time to time:
35      $ cd ~/portage/slyfox-gentoo
36      $ git pull
38 Bugs/feature requests/patches are welcome: http://midnight-commander.org/
39 Have fun!