summaryrefslogtreecommitdiff
blob: 462fbf47a7a8bb41d8663568ff61d20ca09a61de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="Manages the /usr/bin/emacs symlink"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

RDEPEND=">=app-admin/eselect-1.0.7"

src_install() {
	cd "${S}"
	touch 50emacs
	doenvd 50emacs
	domenu emacs.desktop
	doicon emacs.png
	insinto /usr/share/eselect/modules
	doins emacs.eselect || die "doins failed"
}