diff options
Diffstat (limited to 'app-shells/bash-completion-config/bash-completion-config-0.4-r1.ebuild')
-rw-r--r-- | app-shells/bash-completion-config/bash-completion-config-0.4-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/app-shells/bash-completion-config/bash-completion-config-0.4-r1.ebuild b/app-shells/bash-completion-config/bash-completion-config-0.4-r1.ebuild new file mode 100644 index 000000000000..62573c8ebfd5 --- /dev/null +++ b/app-shells/bash-completion-config/bash-completion-config-0.4-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-shells/bash-completion-config/bash-completion-config-0.4-r1.ebuild,v 1.1 2004/11/05 18:45:54 ka0ttic Exp $ + +inherit eutils + +MY_PN="bashcomp-config" +MY_P="${MY_PN}-${PV}" +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="Utility to easily add/remove bash-completions to your environment" +HOMEPAGE="http://developer.berlios.de/projects/bashcomp-config/" +SRC_URI="http://download.berlios.de/${MY_PN}/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~s390 ~x86 ~mips ~sparc ~ppc ~ppc-macos ~ppc64" +IUSE="" + +RDEPEND=">=app-shells/bash-2.05" +DEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PVR}_fix-relative-path-install.diff +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS TODO ChangeLog README +} + +pkg_postinst() { + echo + einfo "To enable command-line completion for bash-completion-config," + einfo "run the following as root:" + einfo + einfo " bash-completion-config --global --install bash-completion-config" + echo +} |