mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-10 06:26:57 +02:00
gentoo-bashcomp: upgrade to upstream stable
BUG=chromium-os:24198 TEST=`emerge -1 gentoo-bashcomp` # host only TEST=tool around the terminal in it. Change-Id: If61cb76921eb314ac165da2b483b771c18a864e2 Reviewed-on: https://gerrit.chromium.org/gerrit/13407 Tested-by: Brian Harring <ferringb@chromium.org> Reviewed-by: Mike Frysinger <vapier@chromium.org> Commit-Ready: Brian Harring <ferringb@chromium.org>
This commit is contained in:
parent
1b1c4a0418
commit
63c99ed87d
1
sdk_container/src/third_party/portage-stable/app-shells/gentoo-bashcomp/Manifest
vendored
Normal file
1
sdk_container/src/third_party/portage-stable/app-shells/gentoo-bashcomp/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST gentoo-bashcomp-20101217.tar.bz2 23095 RMD160 35df5d94ee6a68413797db3e72ed910ea60f21f1 SHA1 80b5ebf91cfee9c295444a59be240a9bf48ac10e SHA256 834e62a9189294f30771fce3fcdeca5fae6fd706c7fd35047f246fb2c0e8cd5a
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 1999-2011 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/app-shells/gentoo-bashcomp/gentoo-bashcomp-20101217.ebuild,v 1.2 2011/01/24 16:10:15 darkside Exp $
|
||||||
|
|
||||||
|
EAPI=3
|
||||||
|
inherit prefix
|
||||||
|
|
||||||
|
DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, repoman, layman, etc)"
|
||||||
|
HOMEPAGE="http://www.gentoo.org/"
|
||||||
|
SRC_URI="mirror://gentoo/${P}.tar.bz2
|
||||||
|
http://dev.gentoo.org/~darkside/tmp/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="app-shells/bash-completion"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
eprefixify gentoo
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() { :; } # There is a useless Makefile in the distfile
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/bash-completion
|
||||||
|
doins gentoo || die "failed to install gentoo module"
|
||||||
|
doins repoman || die "failed to install repoman module"
|
||||||
|
doins layman || die "failed to install layman module"
|
||||||
|
dodoc AUTHORS ChangeLog TODO
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# can't use bash-completion.eclass.
|
||||||
|
elog "To enable command-line completion for ${PN}, run:"
|
||||||
|
elog
|
||||||
|
elog " eselect bashcomp enable gentoo"
|
||||||
|
elog
|
||||||
|
elog "to install locally, or"
|
||||||
|
elog
|
||||||
|
elog " eselect bashcomp enable --global gentoo"
|
||||||
|
elog
|
||||||
|
elog "to install system-wide. (and/or repoman instead of gentoo if you use"
|
||||||
|
elog "repoman frequently)"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user