Lines 2-9
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-shells/gentoo-bashcomp/gentoo-bashcomp-20121024.ebuild,v 1.1 2012/10/24 04:34:01 dirtyepic Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-shells/gentoo-bashcomp/gentoo-bashcomp-20121024.ebuild,v 1.1 2012/10/24 04:34:01 dirtyepic Exp $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=5 |
6 |
inherit eutils prefix |
6 |
inherit bash-completion-r1 eutils prefix |
7 |
|
7 |
|
8 |
DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, repoman, layman, etc)" |
8 |
DESCRIPTION="Gentoo-specific bash command-line completions (emerge, ebuild, equery, repoman, layman, etc)" |
9 |
HOMEPAGE="http://www.gentoo.org/" |
9 |
HOMEPAGE="http://www.gentoo.org/" |
Lines 14-32
Link Here
|
14 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris" |
14 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris" |
15 |
IUSE="" |
15 |
IUSE="" |
16 |
|
16 |
|
17 |
RDEPEND="app-shells/bash-completion" |
17 |
RDEPEND=">=app-shells/bash-completion-2.1-r1" |
18 |
|
18 |
|
19 |
src_prepare() { |
19 |
src_prepare() { |
20 |
eprefixify gentoo |
20 |
eprefixify gentoo gentoo-style-init |
21 |
} |
21 |
} |
22 |
|
22 |
|
23 |
src_compile() { :; } # There is a useless Makefile in the distfile |
23 |
src_compile() { :; } # There is a useless Makefile in the distfile |
24 |
|
24 |
|
25 |
src_install() { |
25 |
src_install() { |
26 |
insinto /usr/share/bash-completion |
26 |
local bashcompdir="$(get_bashcompdir)" sym |
27 |
doins gentoo || die "failed to install gentoo module" |
27 |
local compatdir="$(_bash-completion-r1_get_bashdir compatdir /etc/bash_completion.d)" |
28 |
doins repoman || die "failed to install repoman module" |
28 |
|
29 |
doins layman || die "failed to install layman module" |
29 |
insinto "${bashcompdir}" |
|
|
30 |
doins gentoo repoman layman |
31 |
for sym in emerge ebuild rc rc-status rc-update gcc-config \ |
32 |
distcc-config java-config browser-config equery ekeyword portageq \ |
33 |
webapp-config revdep-rebuild splat euse glsa-check epm metagen \ |
34 |
rc-service; do |
35 |
dosym gentoo "${bashcompdir}"/${sym} |
36 |
done |
37 |
|
38 |
insinto "${compatdir}" |
39 |
doins gentoo-style-init |
40 |
|
30 |
dodoc AUTHORS ChangeLog TODO |
41 |
dodoc AUTHORS ChangeLog TODO |
31 |
} |
42 |
} |
32 |
|
43 |
|