| 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/linux-mod.eclass,v 1.46 2005/07/07 12:05:40 brix Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.47 2005/07/07 12:09:06 brix Exp $ |
| 4 | |
4 | |
| 5 | # Description: This eclass is used to interface with linux-info in such a way |
5 | # Description: This eclass is used to interface with linux-info in such a way |
| 6 | # to provide the functionality required and initial functions |
6 | # to provide the functionality required and initial functions |
| 7 | # required to install external modules against a kernel source |
7 | # required to install external modules against a kernel source |
| 8 | # tree. |
8 | # tree. |
| … | |
… | |
| 80 | |
80 | |
| 81 | |
81 | |
| 82 | inherit linux-info |
82 | inherit linux-info |
| 83 | EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile pkg_postrm |
83 | EXPORT_FUNCTIONS pkg_setup pkg_postinst src_install src_compile pkg_postrm |
| 84 | |
84 | |
| 85 | IUSE="${IUSE} pcmcia" |
|
|
| 86 | SLOT="0" |
85 | SLOT="0" |
| 87 | DESCRIPTION="Based on the $ECLASS eclass" |
86 | DESCRIPTION="Based on the $ECLASS eclass" |
| 88 | RDEPEND="virtual/modutils |
87 | RDEPEND="virtual/modutils |
| 89 | pcmcia? ( virtual/pcmcia )" |
88 | pcmcia? ( virtual/pcmcia )" |
| 90 | DEPEND="${RDEPEND} |
89 | DEPEND="${RDEPEND} |