summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2011-09-03 12:56:24 +0000
committerUlrich Müller <ulm@gentoo.org>2011-09-03 12:56:24 +0000
commit85b2e751d8bc4480bd3ae0ba71bf5ac83abe3d18 (patch)
tree772252a254e378213fba92319efcc1b219ff583c /app-admin/eselect
parentAdd example syslog configurations for rsyslog and syslog-ng, bug #380461, tha... (diff)
downloadgentoo-2-85b2e751d8bc4480bd3ae0ba71bf5ac83abe3d18.tar.gz
gentoo-2-85b2e751d8bc4480bd3ae0ba71bf5ac83abe3d18.tar.bz2
gentoo-2-85b2e751d8bc4480bd3ae0ba71bf5ac83abe3d18.zip
Restore live ebuild for SVN trunk.
(Portage version: 2.1.10.12/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/eselect')
-rw-r--r--app-admin/eselect/ChangeLog5
-rw-r--r--app-admin/eselect/eselect-9999.ebuild63
2 files changed, 67 insertions, 1 deletions
diff --git a/app-admin/eselect/ChangeLog b/app-admin/eselect/ChangeLog
index 628539769094..278d2f9e5baf 100644
--- a/app-admin/eselect/ChangeLog
+++ b/app-admin/eselect/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/eselect
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.186 2011/07/08 06:03:43 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/ChangeLog,v 1.187 2011/09/03 12:56:24 ulm Exp $
+
+ 03 Sep 2011; Ulrich Mueller <ulm@gentoo.org> +eselect-9999.ebuild:
+ Restore live ebuild for SVN trunk.
*eselect-1.2.16 (07 Jul 2011)
diff --git a/app-admin/eselect/eselect-9999.ebuild b/app-admin/eselect/eselect-9999.ebuild
new file mode 100644
index 000000000000..cadb8e22feab
--- /dev/null
+++ b/app-admin/eselect/eselect-9999.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/eselect/eselect-9999.ebuild,v 1.8 2011/09/03 12:56:24 ulm Exp $
+
+EAPI=2
+ESVN_REPO_URI="svn://anonsvn.gentoo.org/eselect/trunk"
+ESVN_BOOTSTRAP="autogen.bash"
+
+inherit subversion bash-completion
+
+DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
+HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc"
+
+RDEPEND="sys-apps/sed
+ || (
+ sys-apps/coreutils
+ sys-freebsd/freebsd-bin
+ app-misc/realpath
+ )"
+DEPEND="${RDEPEND}
+ doc? ( dev-python/docutils )"
+RDEPEND="!app-admin/eselect-news
+ ${RDEPEND}
+ sys-apps/file
+ sys-libs/ncurses"
+
+# Commented out: only few users of eselect will edit its source
+#PDEPEND="emacs? ( app-emacs/gentoo-syntax )
+# vim-syntax? ( app-vim/eselect-syntax )"
+
+src_compile() {
+ emake || die "emake failed"
+
+ if use doc; then
+ make html || die "failed to build html"
+ fi
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+ dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
+ use doc && dohtml *.html doc/*
+ dobashcompletion misc/${PN}.bashcomp
+
+ # needed by news module
+ keepdir /var/lib/gentoo/news
+}
+
+pkg_postinst() {
+ # fowners in src_install doesn't work for the portage group:
+ # merging changes the group back to root
+ [[ -z ${EROOT} ]] && local EROOT=${ROOT}
+ chgrp portage "${EROOT}/var/lib/gentoo/news" \
+ && chmod g+w "${EROOT}/var/lib/gentoo/news"
+
+ bash-completion_pkg_postinst
+}