summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-12-29 10:27:08 +0000
committerUlrich Müller <ulm@gentoo.org>2007-12-29 10:27:08 +0000
commit0054a527ab66f87200ed15cf6ebeb42b8fececc3 (patch)
treefd3994b4a14054340e7bb92ed2e1547e4356a06f /app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild
parentSync with Portage: Include net-libs/liblockfile in dependencies. (diff)
downloademacs-0054a527ab66f87200ed15cf6ebeb42b8fececc3.tar.gz
emacs-0054a527ab66f87200ed15cf6ebeb42b8fececc3.tar.bz2
emacs-0054a527ab66f87200ed15cf6ebeb42b8fececc3.zip
Copied from Portage. Install emacs-updater.
svn path=/emacs-overlay/; revision=898
Diffstat (limited to 'app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild')
-rw-r--r--app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild b/app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild
new file mode 100644
index 0000000..f30cd51
--- /dev/null
+++ b/app-admin/eselect-emacs/eselect-emacs-1.3-r2.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+DESCRIPTION="Manages Emacs versions"
+HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
+MY_EU_P="emacs-updater-0.3"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ http://dev.gentoo.org/~ulm/distfiles/${MY_EU_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+# Remove the blocker on emacs-updater when this goes into Portage
+RDEPEND=">=app-admin/eselect-1.0.10
+ !app-admin/emacs-updater"
+# Now this should really be in RDEPEND, but it would result in blockers when
+# updating from <=eselect-emacs-1.3. Leave it as PDEPEND for the time being.
+PDEPEND="app-admin/eselect-ctags"
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins emacs.eselect || die "doins failed"
+ doman emacs.eselect.5 || die "doman failed"
+ dodoc ChangeLog || die "dodoc failed"
+
+ dosbin "${WORKDIR}/${MY_EU_P}/emacs-updater" || die "dosbin failed"
+}