summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/eselect-emacs/eselect-emacs-9999.ebuild')
-rw-r--r--app-admin/eselect-emacs/eselect-emacs-9999.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-admin/eselect-emacs/eselect-emacs-9999.ebuild b/app-admin/eselect-emacs/eselect-emacs-9999.ebuild
new file mode 100644
index 0000000..1d72f56
--- /dev/null
+++ b/app-admin/eselect-emacs/eselect-emacs-9999.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit subversion
+
+DESCRIPTION="Manages Emacs versions"
+HOMEPAGE="http://www.gentoo.org/proj/en/lisp/emacs/"
+#SRC_URI="mirror://gentoo/${P}.tar.bz2"
+ESVN_REPO_URI="svn://anonsvn.gentoo.org/emacs/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=app-admin/eselect-1.0.10
+ ~app-admin/eselect-ctags-${PV}"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ subversion_fetch || die
+ subversion_fetch "${ESVN_REPO_URI%/*}/emacs-updater" || die
+}
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins {emacs,etags}.eselect || die "doins failed"
+ doman {emacs,etags}.eselect.5 || die "doman failed"
+ dodoc ChangeLog || die "dodoc failed"
+ dosbin emacs-updater || die "dosbin failed"
+}