| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 Gentoo Foundation |
| 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/eclass/bash-completion.eclass,v 1.2 2004/10/26 22:54:07 ka0ttic Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/bash-completion.eclass,v 1.3 2004/10/30 23:13:44 ka0ttic Exp $ |
| 4 | # |
4 | # |
| 5 | # Simple eclass that provides an interface for installing |
5 | # Simple eclass that provides an interface for installing |
| 6 | # contributed (ie not included in bash-completion proper) |
6 | # contributed (ie not included in bash-completion proper) |
| 7 | # bash-completion scripts. |
7 | # bash-completion scripts. |
| 8 | # |
8 | # |
| … | |
… | |
| 12 | |
12 | |
| 13 | ECLASS="bash-completion" |
13 | ECLASS="bash-completion" |
| 14 | INHERITED="${INHERITED} ${ECLASS}" |
14 | INHERITED="${INHERITED} ${ECLASS}" |
| 15 | |
15 | |
| 16 | IUSE="${IUSE} bash-completion" |
16 | IUSE="${IUSE} bash-completion" |
|
|
17 | |
| 17 | RDEPEND="${RDEPEND} |
18 | #RDEPEND="${RDEPEND} |
| 18 | bash-completion? ( app-shells/bash-completion )" |
19 | # bash-completion? ( app-shells/bash-completion )" |
| 19 | |
20 | |
| 20 | # dobashcompletion <file> <new file> |
21 | # dobashcompletion <file> <new file> |
| 21 | # First arg, <file>, is required and is the location of the bash-completion |
22 | # First arg, <file>, is required and is the location of the bash-completion |
| 22 | # script to install. Second arg, <new file>, is optional and specifies an |
23 | # script to install. Second arg, <new file>, is optional and specifies an |
| 23 | # alternate filename to install as. |
24 | # alternate filename to install as. |